Skip to content

Commit

Permalink
Fix a deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Apr 5, 2023
1 parent 073ae9b commit ebd053e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion github_to_sqlite/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -731,7 +731,7 @@ def scrape_dependents(repo, verbose=False):
yield from repos
# next page?
try:
next_link = soup.select(".paginate-container")[0].find("a", text="Next")
next_link = soup.select(".paginate-container")[0].find("a", string="Next")
except IndexError:
break
if next_link is not None:
Expand Down

0 comments on commit ebd053e

Please sign in to comment.