You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By adding third argument, "pageNumber" you could manually add page number in command like "python3 yellow_pages.py pizza "Las Vegas",NV 2" but I get error: unrecognized arguments: 2
add this modification in def parse_listing() for pages in range(1, 5+1): url = "https://www.yellowpages.com/search?search_terms={0}&geo_location_terms={1}".format(keyword, place) + f"&page={pages}"
and change pages range according to your need.
I also wanted to make it loop.
By adding third argument, "pageNumber" you could manually add page number in command like "python3 yellow_pages.py pizza "Las Vegas",NV 2" but I get error: unrecognized arguments: 2
How do i get this to run through a proxy server?
also trying to make it loop so it can pull more then the first page.
The text was updated successfully, but these errors were encountered: