Query information about scientific publications on the web.
Project description
Pubfisher: Effectively explore scientific publications
Pubfisher is about querying scientific publications from web sources such as Google Scholar. These sources often do not offer a convenient, programmable API, such that complex or comprehensive queries require lots of manual steps, such as solving Captchas.
Pubfisher offers a simple data model and API that reduces the manual effort to the minimum and makes complex queries simple to express. In particular, Pubfisher does not fail when it sees a Captcha: It shows the captcha to you, you solve the captcha, on goes the query.
Let's say you are interested in the first 200 citations of a paper according to Google Scholar Then this could be your query:
from pubfisher.fishers.googlescholar import PublicationGSFisher
from itertools import islice
def my_query():
fisher = PublicationGSFisher()
fisher.look_for_key_words('Parachute use to prevent death '
'and major trauma related to '
'gravitational challenge: '
'systematic review of randomised '
'controlled trials')
return islice(fisher.fish_all(), 200)
Using one and the same scraper, you can perform lots of queries. Pubfisher takes care of reusing the session cookies across requests such that your queries appear natural to the underlying web services.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pubfisher-2019.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d8a64e7d9ac55593b7d9f6b0291db76919c0efadae1d77bd68cb6f567d3f216 |
|
MD5 | 65ad9a8b40b10d932191a39df254916a |
|
BLAKE2b-256 | e0c70bc635f2a126b397fa04311d442e19ad6b4ed7a20a9b321f353795eb7f4a |