This is a crawler to download full web page of google result and convert links in html by wget. Besides search results, it will also download google search page and replace href of results, page number and prev/next page button in html to local file path which downloaded by wget. To look over download data, there is a html (./portal/index.html) to access data downloaded by wget.
git clone https://github.com/wctsai20002/google-result-crawler.git
pip3 install -r ./requirements.txt
copy or rename .env.example to make .env file, and change variables according to your needs
put keywords and urls you want to download in keywords.txt and urls.txt line by line
python3 crawler.py
or
python crawler.py
After process finished, open the file ./portal/index.html by browser to see download data.