Skip to content
Snippets Groups Projects
Commit 515bf16a authored by Florian Jochens's avatar Florian Jochens
Browse files

commented out date conversion in acs.py

parent 499f702f
Branches
No related tags found
No related merge requests found
......@@ -76,12 +76,12 @@ class AcsFetcher(JournalFetcher):
# Format in acs :"month dd, yyyy"
published = soup_header.select(".pub-date-value")[0].text
re_date = re.match(r'\s*(\w+) (\d+), (\d+)\s*',published)
#re_date = re.match(r'\s*(\w+) (\d+), (\d+)\s*',published)
# dd.mm.yyyy
if re_date is not None:
published = (re_date[2].zfill(2) + "."
+ JournalFetcher.mont_to_num[re_date[1].lower()]
+ "." + re_date[3])
#if re_date is not None:
# published = (re_date[2].zfill(2) + "."
# + JournalFetcher.mont_to_num[re_date[1].lower()]
# + "." + re_date[3])
subjects = ["None Found"]
subject_soup = soup_header.select('.article_header-taxonomy')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment