html - How can I scrape a site with multiple pages using beautifulsoup and python? -
i trying scrape website. continuation of soup.findall not working table
i able obtain needed data site has multiple pages vary day. days can 20 pages , 33 pages on another. trying implement solution obtaining last page element how scrape next pages in python using beautifulsoup when got pager div in on site want scrape found format
<a class="ctl00_cph1_mnupager_1" href="javascript:__dopostback('ctl00$cph1$mnupager','32')">32</a> <a class="ctl00_cph1_mnupager_1">33</a> how can scrape pages in site given amount of pages change daily? way page url not change page changes.
- bs4 not solve issues anytime, because of can't run js
- first, can try use scrapy , answer
- you can use selenium it
Comments
Post a Comment