Skip to content

Commit

Permalink
Merge branch 'faresh9-ojs_issue'
Browse files Browse the repository at this point in the history
  • Loading branch information
fnielsen committed Feb 6, 2024
2 parents f6ffbee + e2435aa commit f191a09
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scholia/scrape/ojs.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,9 @@ def issue_url_to_paper_urls(url):
# For instance, for
# https://www.journals.vu.lt/scandinavistica/issue/view/1153
urls = tree.xpath("//div[@class='article-summary-title']/a/@href")
if len(urls) == 0:
# Targeting specific class 'summary_title'
urls = tree.xpath("//a[@class='summary_title']/@href")
return urls


Expand Down

0 comments on commit f191a09

Please sign in to comment.