Skip to content

Python script to download files via Google search.

Notifications You must be signed in to change notification settings

lu43n/google_dl

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

google_dl

Python script to download files via Google search.

Requirements

In order to use the script you need to install Python 3.x and the following packages:

For each package just run:

py setup.py build
py setup.py install

Disclaimer

Before using, please read Google Terms of Service

Don't misuse our Services. For example, don't interfere with our Services or try to access them using a method other than the interface and the instructions that we provide.

It is provided for personal study and research.

Usage

usage: google_dl.py [-?] [-v] [-d DEST] [-s SITE] [-f FILETYPE] [-x]
                    [-t TIMEOUT] [-m MAXRESULTS] [-p RESULTSPERPAGE]
                    query [query ...]

positional arguments:
  query                 Query to search for.

optional arguments:
  -?, --help            Show this help message and exit
  -v, --verbose         increase output verbosity.
  -d DEST, --download-dir DEST
                        Directory to download files.
  -s SITE, --site SITE  Site to search for.
  -f FILETYPE, --file-type FILETYPE
                        File type to download.
  -x, --force-directories
                        Create a hierarchy of directories based on the URL.
  -t TIMEOUT, --timeout TIMEOUT
                        Set socket read timeout for downloading in seconds
                        (float).
  -m MAXRESULTS, --max-results MAXRESULTS
                        Set maximum results to scrape.
  -p RESULTSPERPAGE, --results-per-page RESULTSPERPAGE
                        Set number of results per page.

License

Licensed under MIT license.

About

Python script to download files via Google search.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%