On many sites, you won't be able to scrape data without being logged in!
In this video, you'll learn:
β
How login works: POST Request + Cookies
β
CSRF Token: what it is and why the site uses it for security
β
How to get the CSRF Token value using CSS Selector
β
requests.Session(): why it's more powerful than regular requests for storage
β
Payload: how to create it and send the username, password, and Token
β
How to verify successful login
β
A practical step-by-step example
ββββββββββββββββββββββ
π About the course: Web Scraping | Support Academy
π Contact us to book courses:
π± Facebook: fb.com/profile.php?id=61566306885276
πΈ Instagram: @daamacademy
π΅ TikTok: tiktok.com/@daamacademy
π² WhatsApp: 01558104018
π Subscribe to the channel and turn on notifications
ββββββββββββββββββββββ
login scraping python, POST request, CSRF token, requests session, cookies python, authenticated scraping, scraping with login, Mohamed Mahmoud, Support Academy