Giter Site home page Giter Site logo

Comments (8)

billgreenwald avatar billgreenwald commented on July 20, 2024

NEJM needed its own fetcher -- I wrote and tested with the one you listed, but let me know if it doesnt work for other NEJM articles you have.

For the other two, they are part of Oxford Academic journals it looks like. I meant to document that I haven't yet found a way to get around either EconReset errors or BadStatusLine errors from Oxford Academic, but its a known problem. From cursory research online, BadStatusLines look to be problems on the journals end, potentially through blocking robots on purpose.

If you have any thoughts let me know, otherwise, you need to grab those yourself. Pushed a new version

from pubmed-batch-download.

billgreenwald avatar billgreenwald commented on July 20, 2024

Some new google searching yielded a fix, which is great! I am updating code now

from pubmed-batch-download.

billgreenwald avatar billgreenwald commented on July 20, 2024

Updated to version 2.3.0, and should be fixed

from pubmed-batch-download.

dmcalli2 avatar dmcalli2 commented on July 20, 2024

HI Bill, just to say thanks for doing this, and sorry for the delay. I am away from the office and need direct access to my work network (ie not just VPN) to run the code. I'll let you know how I get on.
Only other thought I have had is (more generally) whether it would be possible to make use of the Zotero translators (https://github.com/zotero/translators). It would require calling the javascript code from python once your script has found the journal's page. This is not something I know anything about (as I mostly work in R) - just an idea. Apologies if you have already considered it.

from pubmed-batch-download.

billgreenwald avatar billgreenwald commented on July 20, 2024

I haven't used Zotero before, but can read up on it. Can you clarify how/what you are thinking/would like it to be used it for?

from pubmed-batch-download.

dmcalli2 avatar dmcalli2 commented on July 20, 2024

I probably don't need this now, as I have downloaded the rest of the papers I need manually, but what I was thinking of was this:-

  1. Pubmed-Batch-Download finds website where paper is held
  2. Zotero translator used to download it
    Zotero is an open source reference manager tool. It has an SQLite database as a back-end. It has a standalone browser for the database, and an extension inside a web-browser.
    The extension within the web-browser is used to download metadata, html files and any pdfs associated with an article. Many "translators" have been written for this purpose.
    I wondered if it would be possible for Pubmed-Batch-Download to run the translator script.
    Just a thought, as I say, I am probably not going to need this function.

from pubmed-batch-download.

billgreenwald avatar billgreenwald commented on July 20, 2024

I'm going to mark this as an enhancement for the future.

from pubmed-batch-download.

dmcalli2 avatar dmcalli2 commented on July 20, 2024

Thanks Bill.

from pubmed-batch-download.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.