updated Aminer security key
This commit is contained in:
parent
193581cd6a
commit
8751b55617
@ -9,7 +9,7 @@ from pprint import pprint
|
||||
|
||||
# ========== Aminer pre-set ==========
|
||||
# Aminer secret key
|
||||
secret_key = "81hJKrNgKkMqow=="
|
||||
secret_key = "KJlS8eT9y9Gc1w=="
|
||||
user_id = "650c31aa078ed986b5d526cc"
|
||||
expire_time = int(time.time()) + 60 # Expire in 1 min
|
||||
now_time = int(time.time())
|
||||
@ -45,7 +45,7 @@ def aminer_article_webID(title):
|
||||
"title": re.sub(r'[^a-zA-Z0-9\s]+', ' ', title).strip()
|
||||
}
|
||||
|
||||
response = requests.post(api_article_info, headers=headers, params=params)
|
||||
response = requests.get(api_article_info, headers=headers, params=params)
|
||||
|
||||
if response.status_code == 200:
|
||||
data = response.json()
|
||||
|
||||
@ -8,7 +8,7 @@ from scholarly import scholarly
|
||||
from scholarly import ProxyGenerator
|
||||
|
||||
# Aminer secret key
|
||||
secret_key = "81hJKrNgKkMqow=="
|
||||
secret_key = "KJlS8eT9y9Gc1w=="
|
||||
user_id = "650c31aa078ed986b5d526cc"
|
||||
expire_time = int(time.time()) + 60 # Expire in 1 min
|
||||
now_time = int(time.time())
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user