I need to extract only the links of a certain section in a webpage but all the tutorials I find on Beautifulsoup always scrape the whole page.
How do I scrape only the links within a certain <div class="xyz">
???
EDIT: I currently have this code:
soup1.find_all('h3', class_="entry-title td-module-title")
This finds all the links of the webpage, which are contained in the class_="entry-title td-module-title"
I want to find all the links that are still contained in the class
"entry-title td-module-title"`
But only those contained in the section represented by:
<div class="wpb_wrapper">
(Sorry if my question was a bit lacking of information, I tried to add more details)