-
Notifications
You must be signed in to change notification settings - Fork 767
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clinicaltrials.gov website changes #3069
Comments
The current implementation uses the API for most of the work, and we should migrate to the new API too. @adam3smith, may I have your opinion about migration? Based on your changes to the MathSciNet translator, am I correct to say that we want to move the existing translator script (without changing the UUID) to a new name like |
Is there any reason to support the We usually just update the translator for the current version of the site. |
From the site: https://www.clinicaltrials.gov/data-about-studies/learn-about-api
And from https://www.clinicaltrials.gov/data-about-studies/api-migration
It seems that for API access, the I think I'm going to do the following:
|
- Make target identification and the detection of item/search work for both the new UI at (www.)clinicaltrials.gov and the old UI at classic.clinicaltrials.gov. - Reduce network traffic significantly by eliminating the request for the full document when processing search results. In fact, the URL, which contains the NCTId, is all that's necessary for getting the results, and it can be scraped from the search-results page. - Use async requests for the JSON data, which also makes the code less nested. - Update and add test cases, including search page in both old and new UIs. - Eliminate some dead code. - In the routine processing JSON data, make the code less verbose. - Other small fixes. This resolves zotero#3069.
- Make target identification and the detection of item/search work for both the new UI at (www.)clinicaltrials.gov and the old UI at classic.clinicaltrials.gov. - Reduce network traffic significantly by eliminating the request for the full document when processing search results. In fact, the URL, which contains the NCTId, is all that's necessary for getting the results, and it can be scraped from the search-results page. - Use async requests for the JSON data, which also makes the code less nested. - Update and add test cases, including search page in both old and new UIs. - Eliminate some dead code. - In the routine processing JSON data, make the code less verbose. - Other small fixes. This resolves #3069.
ClinicalTrials.gov updated their website (announcement). This will likely affect
clinicaltrials.gov.js
. For instance, the classic version of the site now has URL patterns likehttps://classic.clinicaltrials.gov/ct2/show/NCT04292899
, and the translator target is"target": "^https://(www\\.)?clinicaltrials\\.gov/ct2/(show|results\\?)"
. The new version of the site may store metadata differently or different metadata altogether.Here's an example of the new and classic sites:
The text was updated successfully, but these errors were encountered: