You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
341 B
Python
15 lines
341 B
Python
import json
|
|
import redis
|
|
|
|
from highly_cited_scholars.models import cnki_model as model
|
|
import highly_cited_scholars.settings as settings
|
|
|
|
|
|
def do_test():
|
|
r = redis.StrictRedis.from_url(settings.REDIS_URL)
|
|
r.lpush("cnki_hcs_list2024:start_urls", json.dumps({"page": 1}, ensure_ascii=False))
|
|
|
|
|
|
if __name__ == '__main__':
|
|
do_test()
|