Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
star-nox committed Mar 20, 2024
1 parent 166b164 commit d5b661f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ai_ta_backend/journal_ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ def searchPubmedArticlesWithEutils(course: str, search: str, title: str, journal
search_query = search.replace(" ", "+")
final_query += search_query

final_url = base_url + database + "&" + final_query + "&retmode=json&retmax=100&retstart=3000"
final_url = base_url + database + "&" + final_query + "&retmode=json&retmax=100"
print("Final URL: ", final_url)
response = requests.get(final_url)

Expand All @@ -678,6 +678,7 @@ def searchPubmedArticlesWithEutils(course: str, search: str, title: str, journal

print("Total Records: ", total_records)
pmid_list = []


while current_records < total_records:
# extract ID and convert them to PMC ID
Expand Down

0 comments on commit d5b661f

Please sign in to comment.