Python BeautifulSoup && Request to scrape search engines
<p>I'm a little confused on how to do this. I'm not sure if this is correct but I'm trying to query a search via a url. I've tried doing this:</p>

<pre><code>url = 'https://duckduckgo.com/dogs?ia=meanings'
session = requests.session()
r = session.get(url)
soup = bs(r.content, 'html.parser')
</code></pre>

<p>I get some html back from the response; however, when I look for all the links it comes up with nothing besides the original search url. </p>

<pre><code>links = soup.find_all('a')
for link in links:
    print(link)

&lt;a href="https://duckduckgo.com/html/?q=dogs"&gt;here&lt;/a&gt;
</code></pre>

<p>When I do the search on a browser and inspect the html code, all the links exist, but for some reason are not coming back to me via my request.</p>

<p>Anyone have any ideas, I'm trying to build a web-scraping application and I thought this would be something really easy that I could incorporate into my terminal. </p>