Skip to content

Instantly share code, notes, and snippets.

View jalperin's full-sized avatar

Juan Pablo Alperin jalperin

View GitHub Profile
import json
from xylose.scielodocument import Article
def load_document_from_file(filename):
with open(filename, 'r') as f:
for line in f:
data = json.loads(line)
article = Article(data)
@fabiobatalha
fabiobatalha / documents_from_search.py
Created May 17, 2017 21:16
Retorna documents SciELO a partir de uma URL de pesquisa da ferramenta search.scielo.org
from io import BytesIO
import argparse
from urllib.parse import urlparse, urlencode, parse_qs, urlunparse
from articlemeta.client import RestfulClient
import requests
from lxml import etree
LIMIT = 100
from articlemeta.client import RestfulClient
"""
pip install articlemetaapi
Allowed formats:
xylose: default
xmlrsps
xmlwos
xmldoaj
We couldn’t find that file to show.