Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

missed a lot of new submissions; seems the update times of new papers…

… are treated as when they are submitted; so change last=2 to last=31 for larget checking time period, but this may cause longer processing time
  • Loading branch information...
commit 44183d970c736faef3ee347459b407cc8cb21a21 1 parent 61fd8fa
Bo Zhu authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 cron_task.py
View
6 cron_task.py
@@ -34,13 +34,13 @@ class ePrintData(db.Model):
def store_data(data):
- eprint_db = ePrintData(key_name='only_you')
+ eprint_db = ePrintData(key_name='31days')
eprint_db.data = db.Blob(data)
eprint_db.put()
def retrieve_data():
- data_key = db.Key.from_path('ePrintData', 'only_you')
+ data_key = db.Key.from_path('ePrintData', '31days')
data_class = db.get(data_key)
if data_class:
return data_class.data
@@ -50,7 +50,7 @@ def retrieve_data():
def task():
result = urlfetch.fetch(
- 'http://eprint.iacr.org/cgi-bin/search.pl?last=2&title=1',
+ 'http://eprint.iacr.org/cgi-bin/search.pl?last=31&title=1',
headers=common_headers,
deadline=30
)
Please sign in to comment.
Something went wrong with that request. Please try again.