HTTP_based() – automating web specific use-cases

The following http_based method is straightforward. We use Python's request library to send a GET request to our target, capture the response, and save it in the database. For now, we are just sending a GET request, but you can tweak the code to handle both GET and POST in your own time. We will cover more about python requests and scraping in the next chapters:

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.216.230.107