How To Scrape Multiple Pages on Websites | Web Scraping using BeautifulSoup

How To Scrape Multiple Pages on Websites | Web Scraping using BeautifulSoup

WsCube Tech! ENGLISH

1 год назад

23,430 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@venkataeswaratmakuri6223
@venkataeswaratmakuri6223 - 07.12.2023 14:23

mam it's showing error code 500 on trying to print the request how to resolve it

Ответить
@ahmedelsaid8368
@ahmedelsaid8368 - 03.10.2023 00:52

it worked for me when i inspected the total number of pages:total_pages = int(soup.find("div", class_="_2MImiq").find("span").text.split("of")[-1].strip()) , instead of the "next" button and looped for it , added each number to the url

Ответить
@madhainagarhighshool3403
@madhainagarhighshool3403 - 30.07.2023 12:23

It's very difficult process. I think

Ответить
@abhisheksingh-un6yt
@abhisheksingh-un6yt - 21.06.2023 10:03

In my case it shows page not found
how to fix it?

Ответить
@harshjalan3218
@harshjalan3218 - 12.04.2023 13:15

mam in case of while loop, problem is that when our code find("a",class_="_1LKTO3") tag it's find previous button link because class is same as next button tag. so it's again and again jump page no 1 and page no 2.

Ответить
@surendra1764
@surendra1764 - 17.03.2023 19:44

Will it work for Amazon

Ответить
@carlosconde3498
@carlosconde3498 - 12.03.2023 23:56

Great job!!!

Ответить
@nikhilsatbhai6722
@nikhilsatbhai6722 - 10.03.2023 20:16

can you please tell how to use while loop in case of different link in detailed

Ответить
@yourcreed104
@yourcreed104 - 27.02.2023 23:42

great explanation and she has good knowledge about this topic

Ответить