This project was built to help people and I did not earn money from my work. But you can still support my work
Try to extract this product detail such as title, desc and price.
Sometimes there are some Unicode char in the raw JSON string which might cause program raise
UnicodeDecodeError. You should remember before running
json.loads, make the JSON string Unicode string type. If there is some syntax error when loading, you can use some took such as json lint to help you figure out where the error is.
Web scraping using XPath or CSS expression
Load JSON string and extract data
Not only crawl products but also handle pagination
Inspect Ajax requests and mimic them
Learn to inspect the fields of HTTP request
Scraping Infinite Scrolling Pages (Ajax)
Learn to scrape infinite scrolling pages
Make your spider can work with the cookie
Scrape data behind login form
Learn to scrape data behind a captcha