Python Selenium Tutorial #10 - Scrape Websites with Infinite Scrolling

preview_player
Показать описание
💥 Special Bonus: Use "Michael" at checkout for an extra +2GB of bandwidth.

This selenium tutorial is designed for beginners to learn how to use the python selenium library to perform web scraping, testing, and creating website bots. Selenium is a Python library that provides a high-level API to control Chrome or Chromium and Firefox or Geckodriver over the DevTools Protocol. Selenium runs non-headless by default but can be configured to run headless.

Donate
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Bitcoin Wallet: bc1q05j8gcnq4mzvgj603cxdc8xxck4jgnu2ljsrt4
Ethereum Wallet: 0x5e7BD4f473f153d400b39D593A55D68Ce80F8a2e

Social
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

Tags:
- Python Selenium Tutorial
- Full Course Selenium
- Python Selenium
- Web Scraping Full Course
- Python Selenium Web Scraping Full Course

#selenium #python #webscraping
Рекомендации по теме
Комментарии
Автор

I can't find the code for this video in your github link.

Yaser-ihcx
Автор

Is it possible to start parsing right away?
with the fiftieth element and not start parsing everything again?

Faybmi
Автор

Thanks for a great video! Could you tell please, I just dont get it. Why should we update the items list every time instead of appending to it? Because I've tried to see how instagram behaves and it seems like everytime it scrolls down it loads an exact set of items and deletes the previous ones out of the code. Or am i being mistaken?

emphieishere
Автор

is web login & password and google Authenticator for selenium ? is python create from input for login website page ... result can't load from a selenium

narkornchaiwong
Автор

For some reason my website can't load from a selenium scroll, it just stucks there.

ronny
Автор

Hi I am having a doubt! You code works very well, but when I scrap, the data gets scraped from the start after some time. Is there any way for it?

pineappily
Автор

In my use case the first items disappear as new items are loaded, which makes sense for an application to not crash the RAM. In these cases unfortunately this wouldn`t be a solution.

RealEstateD
Автор

How about appending element.text directly to items list instead of updating items list with textElements list? Or is it each time Selenium scroll the page, it will scrape all over again all of the previous element.text? If that's the case, what if we use set instead of list to contain the result, so it will be only the unique result we keep?

yafethtb
Автор

nah, nothing work. browser just closing before scroll to page 2

adamsteklov