FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [View Raw Code]   [Original HTTPS Page]

pythoncode-tutorials/web-scraping/extract-and-fill-forms at master · VIVEKRAJ23/pythoncode-tutorials · GitHub

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

To run this:

  • pip3 install -r requirements.txt
  • To extract forms, use form_extractor.py:
    python form_extractor.py https://wikipedia.org
    
  • To extract and submit forms, use form_submitter.py:
    python form_submitter.py https://wikipedia.org
    
    This will extract the first form (you can change that in the code) and prompt the user for each non-hidden input field, and then submits the form and loads the respond HTML in your default web browser, try it out!

Back | FazBrowse Home | New Git URL