RUVIDEO
Поделитесь видео 🙏

Python Tutorial: Web Scraping NBA Stats with Python Selenium смотреть онлайн

Welcome back to the next part in our Python for Daily Fantasy Sports Series!
In this video we are going to be learning how to use URL string manipulation to ease the burden of web navigation. Previously, we have reviewed how to open a webpage, navigate through the page source to find elements to select and update with Selenium, now, we will be showing how to loop over several years worth of data by simply manipulating the URL and placing everything in a for loop.

Check me out on Patreon!
https://www.patreon.com/NicksNiche

VIDEO LINKS:
NBA ADVANCED STATS:
https://stats.nba.com/players/advanced/?sort=GP&dir=-1



Requirements::
Selenium Tutorial Episode 1:
https://www.youtube.com/watch?v=lRT6YK0QcLw
+
Selenium Tutorial Episode 2:
https://www.youtube.com/watch?v=fAW6AxMHego
+
Everything from BS4 Tutorial
+
Firefox -- https://www.mozilla.org/en-US/firefox/new/
+
Pip Install Selenium
https://www.selenium.dev/selenium/docs/api/py/index.html
+
Gecko Driver
Download -- https://github.com/mozilla/geckodriver/releases
More Information -- https://www.softwaretestinghelp.com/geckodriver-selenium-tutorial/

Gecko Explanation
- Gecko is basically an interface that allows firefox to be controlled by a third
party, aka your python code. You must be up to date on firefox and gecko, if you
write some code that works, and it later stops working, this is a likely issue.

Selenium Documentation
--Important functions/process needed for
Finding elements
Selecting elements
These tactics allow us to automate interactions with the webpages, which
makes larger scale web scraping MUCH more efficient.

For Example:
NBA.com stats, each page will need to be interacted with to pull the
stat base. URL can only bring us to the landing page of top 50 results.
URL can be looped to cover different stat pages, but we will need to
interact with the webpage itself to move forward.

Why it is important to understand how to inspect the elements on the page,
very similar to the way we established the table we wanted to use in the
beautiful soup tutorial. Now, we will need to identify the elements on the
page that we want to interact with, then how to interact with them.

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Python Tutorial: Web Scraping NBA Stats with Python Selenium» бесплатно и без регистрации, вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.