Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scholarly/_scholarly.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ def citedby(self, object: Publication)->_SearchScholarIterator:

def _citedby_long(self, object: Publication, years):
# Extract cites_id. Note: There could be multiple ones, separated by commas.
m = re.search("cites=[\d+,]*", object["citedby_url"])
m = re.search(r"cites=[\d+,]*", object["citedby_url"])
pub_id = m.group()[6:]
for y_hi, y_lo in years:
sub_citations = self.search_citedby(publication_id=pub_id, year_low=y_lo, year_high=y_hi)
Expand Down