Skip to content

Commit

Permalink
Add info URL and modification timestamp for emileaben
Browse files Browse the repository at this point in the history
  • Loading branch information
m-appel committed Feb 13, 2024
1 parent 0080082 commit 0a2f924
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion iyp/crawlers/emileaben/as_names.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import requests

from iyp import BaseCrawler, RequestStatusError
from iyp import BaseCrawler, RequestStatusError, get_commit_datetime

# Organization name and URL to data
ORG = 'emileaben'
Expand All @@ -17,6 +17,10 @@
class Crawler(BaseCrawler):
# Base Crawler provides access to IYP via self.iyp
# and setup a dictionary with the org/url/today's date in self.reference
def __init__(self, organization, url, name):
super().__init__(organization, url, name)
self.reference['reference_url_info'] = 'https://github.com/emileaben/asnames'
self.reference['reference_time_modification'] = get_commit_datetime('emileaben/asnames', 'asnames.csv')

def run(self):
# Create a temporary directory
Expand Down

0 comments on commit 0a2f924

Please sign in to comment.