A program to download pdf from google
i want to write a tool which the user give it only the name of the thing he want to download pdf of it from google and the tool will search in google for it and download it for the user. as if the user want to download "computer science book" the too will search in google like >> computer science book ext:pdf and then it will visit the links and download it. i manged to do the first part which is to get the links , but I can't make the tool visit the links and download the pdfs i just need a help with the second part ##the code is try: from googlesearch import search except ImportError: print("No module named 'google' found") extension = "ext:pdf" query = "cybersecurity" + extension for j in search(query, tld="co.in", num=10, stop=10, pause=2): print(j)