2022-05-28 08:47:31 +00:00
|
|
|
import sys
|
2022-05-28 10:06:29 +00:00
|
|
|
import re
|
2022-05-28 08:47:31 +00:00
|
|
|
import time
|
|
|
|
import webbrowser
|
|
|
|
|
|
|
|
file = sys.argv[1]
|
|
|
|
with open(file) as f:
|
|
|
|
for line in f:
|
2022-05-28 10:06:29 +00:00
|
|
|
u = re.sub(r'#.*', '', line).rstrip()
|
|
|
|
webbrowser.open(f"https://www.lens.org/lens/search/scholar/list?q=author.affiliation.name.keyword:\"{u}\"", new=2, autoraise=False)
|
2022-05-28 08:47:31 +00:00
|
|
|
time.sleep(10)
|