Page MenuHomePhabricator

Native scrape responses not getting converted to mediawiki type
Closed, ResolvedPublic8 Estimated Story Points

Description

Example:

curl -d '{"url":"http://www.ncbi.nlm.nih.gov/pubmed/14656957", "format":"mediawiki"}' --header "Content-Type: application/json" localhost:1970/url

(without zotero running)

[{"url":"http://www.ncbi.nlm.nih.gov/pubmed/14656957","title":"Seventh report of the Joint National Committee on Prevention, Detection, Evaluation, and Treatment of High Blood Pressure.  - PubMed - NCBI\n","itemType":"webpage","creators":[{"creatorType":"author","firstName":"Chobanian","lastName":"al."}],"abstract":"Hypertension. 2003 Dec;42(6):1206-52. Epub  2003 Dec 1. Guideline; Practice Guideline; Research Support, U.S. Gov't, P.H.S.","accessDate":"2015-04-03","websiteTitle":"www.ncbi.nlm.nih.gov","publicationTitle":"www.ncbi.nlm.nih.gov"}]

Event Timeline

Mvolz raised the priority of this task from to Unbreak Now!.
Mvolz updated the task description. (Show Details)
Mvolz added a project: Citoid.
Mvolz moved this task to Service: Scraper & Validation on the Citoid board.
Mvolz subscribed.

Change 201712 had a related patch set uploaded (by Mvolz):
[WIP] Fix Scrape to output correct format

https://gerrit.wikimedia.org/r/201712

Change 201712 merged by jenkins-bot:
Fix Scrape to output correct format

https://gerrit.wikimedia.org/r/201712