Curl
Open Chrome Developer Tools, go to Network tab, make your request (you may need to check "Preserve Log" if the page refreshes). Find the request on the left, right-click, "Copy as cURL".
Paste into curl.sh
> bash curl.sh
How to convert curl to scrapy
https://michael-shub.github.io/curl2scrapy/
==================
> curl -c cookie.txt https://bizportal.go.th/th/Intro
> curl -b cookie.txt https://bizportal.go.th/
Comments
Post a Comment