YourChinaScienceInvestigation/open_list.py

10 lines
253 B
Python
Raw Normal View History

2022-05-28 08:47:31 +00:00
import sys
import time
import webbrowser
file = sys.argv[1]
with open(file) as f:
for line in f:
webbrowser.open(f"https://www.lens.org/lens/search/scholar/list?q=author.affiliation.name.keyword:\"{line.rstrip()}\"")
time.sleep(10)