alinush / ck

A Python tool to manage and tag your bibliography (.bib and .pdf) files on Dropbox
13 stars 3 forks source link

IEEE Xplore changed? #2

Closed aluex closed 4 years ago

aluex commented 4 years ago

Sample URL: https://ieeexplore.ieee.org/document/8765347

To reproduce:

run ck a https://ieeexplore.ieee.org/document/8765347

and get

pdfurl = elem['src'] TypeError: 'NoneType' object is not subscriptable

alinush commented 4 years ago

I am not sure how to reproduce this, because the PDF is paywalled and I can't get access to it...

alinush commented 4 years ago

Okay, this is fixed in d7f830c0035b50543a5a882019addc4de47a895d. The problem was ieexeplore accepts two types of links:

...and our parsing was not general enough for both.