Skip to content
Scrape Google and Github to find JS or similar files from a given URL
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


A tool that scrapes Google and Github to find files with a given extension from a given url.

How it works

You give FindScript a domain and it queries a google search, gets the source code of the goole search results and tries to find matching URLs in it. Simultaneously, it does the same with Github. It queries a Github code search, gets the content of each of the results and tries to find matches.


FindScript uses PyGithub.
pip3 install -r requirements.txt

You will also need to create a Github Token with no permissions to effectively use the Github API. You can do that here: Save the token and replace YOUR_TOKEN_HERE with your token.


$ python3 -h
usage: [-h] -u URL [--include-unresolvable] [-e EXTENSION]
                     [-gop GOOGLE_PAGES] [-gip GITHUB_PAGES] [-o OUTPUT]

Scrape Scripts From Google And Github

optional arguments:
  -h, --help            show this help message and exit
  -u URL, --url URL     The Target Domain
                        Include Non Resolvable URLs To The List
  -e EXTENSION, --extension EXTENSION
                        What Extension To Look For, Default: js
  -gop GOOGLE_PAGES, --google_pages GOOGLE_PAGES
                        How Many Google Pages To Search, Default: 15
  -gip GITHUB_PAGES, --github_pages GITHUB_PAGES
                        How Many Github Pages To Search, Default: 5
  -o OUTPUT, --output OUTPUT

You can’t perform that action at this time.