Python Project For Beginners | Browser Automation & Web Scraping Craigslist (Full-Tutorial)

preview_player
Показать описание
One of the critical skill to become a great data analyst or data engineer is knowing how to perform web scraping and browser automation tasks.

In this tutorial, we are going to learn how to automate Craigslist (and web scraping) and download data using Selenium in Python.

▶ Agenda
-----------------
2. Create a Python Virtual Environment
3. Install Selenium Python library (`pip install selenium`)
4. Write a Python automation script to do a search on Craigslist and download the results as a CSV and Excel file.

► Buy Me a Coffee? Your support is much appreciated!
-------------------------------------------------------------------------------------------
☕ Venmo: @Jie-Jenn

► Support my channel so I can continue making free contents
---------------------------------------------------------------------------------------------------------------

00:00 - Intro
01:13 - Download Firefox Driver
02:07 - Install Python Virtual Environment
04:03 - Install Selenium Python Package
04:53 - Create Your Web Browser Automation & Web Scraping Python Program

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

Great tutorial, man. It taught me the basics which is exactly what I was looking for. It's true that Craigslist has changed the html, but I was able to fill in those gaps using basic GPT.

ET_Bermuda
Автор

Awesome bro, could you do a API project next

mpumisetshedii
Автор

It seems like Craiglist has updated since you made this video. I'm trying to use 'except like in your example to go to the final page but the button continues to be interactive although I've reached the final page. Is there any alternative exception we could use? or a way to check while clicking if "gallery~0~0" in the url has reached x page. I'm new to python and I haven't been able to find any scenarios similar to this online that I can learn from.

Sulhouse
Автор

Import "pandas" could not be resolved from and also Import "bs4" could not be resolved from

cayspruceway
visit shbcf.ru