i want to know which website is using my website link in their websites.Can i get a python code to do so?
i was trying to get all the websites which are using my website link but i am not able to do so
i want to know which website is using my website link in their websites.Can i get a python code to do so?
i was trying to get all the websites which are using my website link but i am not able to do so
allintext: Similar to “intext,” but only results containing all of the specified words somewhere on the page will be returned.
We can go ahead and use the above functionality provided by Google Search with Python to get a list of all of the websites that contain your website link inside their text.
For that we can go ahead and use the following Python Module.
try:
from googlesearch import search
except ImportError:
print("No module named 'google' found")
# to search
query = "allintext:https://yourwebsite.com/" # replace with your website link in allintext
for j in search(query, num=10, stop=10, pause=2):
print(j)