hkjinlee / calibre-ridibooks-plugin Goto Github PK
View Code? Open in Web Editor NEWA calibre plugin reading book metadata from http://ridibooks.com
A calibre plugin reading book metadata from http://ridibooks.com
안녕하세요!
우연히 들어와서 받아 써보려고 하는데 제대로 동작하지 않는듯 싶네요.
Calibre 플러그인 로그를 보니 쿼리는 제대로 날라가는것 같은데,
리디북스 페이지 업데이트로 인해 파싱 쪽 로직이 어긋난것 같아요.
일단 유닛테스트가 제대로 동작하지 않고 있고요. 리디북스 쪽 페이지를 보니 DOM Element가 조금 바뀐것 같네요.
################################################################################
### Running test with: {u'identifiers': {u'ridibooks': u'593000535'}}
################################################################################
Ridibooks url: u'http://ridibooks.com/v2/Detail?id=593000535'
[u'\ub9c8\uc774\ud074 \uc0cc\ub378', u'\uae40\uba85\ucca0']
[u'\uc800', u'\uc5ed']
1
[u'\ub9c8\uc774\ud074 \uc0cc\ub378', u'\uae40\uba85\ucca0(\uc5ed\uc790)']
ISBN is 9788937836367
Error parsing publisher/date for url: u'http://ridibooks.com/v2/Detail?id=593000535'
Traceback (most recent call last):
File "calibre_plugins.ridibooks.worker", line 157, in parse_details
File "calibre_plugins.ridibooks.worker", line 283, in parse_publisher_date
IndexError: list index out of range
Downloading cover from: http://misc.ridibooks.com/cover/593000535/xxlarge
### Running test with: {u'title': u'\ud14c\uba54\ub808\ub974 \ud070\ubc14\ub2e4\ubc40'}
################################################################################
Search from /search/?q=%ED%85%8C%EB%A9%94%EB%A0%88%EB%A5%B4+%ED%81%B0%EB%B0%94%EB%8B%A4%EB%B1%80
Querying: http://ridibooks.com/search/?q=%ED%85%8C%EB%A9%94%EB%A0%88%EB%A5%B4+%ED%81%B0%EB%B0%94%EB%8B%A4%EB%B1%80
<Element div at 0x1164f3730>
Compare 테메레르 6권 - 큰바다뱀들의 땅 (나오미 노빅) with 테메레르 큰바다뱀 ()
Compare 테메레르 1권 - 왕의 용 (나오미 노빅) with 테메레르 큰바다뱀 ()
Ridibooks url: u'http://ridibooks.com/v2/Detail?id=606000890&_s=ret&_q=%ED%85%8C%EB%A9%94%EB%A0%88%EB%A5%B4%20%ED%81%B0%EB%B0%94%EB%8B%A4%EB%B1%80'
[u'\ub098\uc624\ubbf8 \ub178\ube45', u'\uacf5\ubcf4\uacbd']
[u'\uc800', u'\uc5ed']
1
[u'\ub098\uc624\ubbf8 \ub178\ube45', u'\uacf5\ubcf4\uacbd(\uc5ed\uc790)']
ISBN is 9788901114682
Error parsing publisher/date for url: u'http://ridibooks.com/v2/Detail?id=606000890&_s=ret&_q=%ED%85%8C%EB%A9%94%EB%A0%88%EB%A5%B4%20%ED%81%B0%EB%B0%94%EB%8B%A4%EB%B1%80'
Traceback (most recent call last):
File "calibre_plugins.ridibooks.worker", line 157, in parse_detai
캘리버 로그는 다음과 같습니다.
****************************** RidiBooks (0, 0, 1) ******************************
Found 0 results
Downloading from RidiBooks took 1.37325501442
Search from /search/?q=%EC%96%B8%EC%96%B4%EC%9D%98+%EC%98%A8%EB%8F%84+%EC%9D%B4%EA%B8%B0%EC%A3%BC
Querying: http://ridibooks.com/search/?q=%EC%96%B8%EC%96%B4%EC%9D%98+%EC%98%A8%EB%8F%84+%EC%9D%B4%EA%B8%B0%EC%A3%BC
Compare 언어의 온도 (이기주) with 언어의 온도 (이기주)
Ridibooks url: u'http://ridibooks.com/v2/Detail?id=1930000002&_s=ret&_q=%EC%96%B8%EC%96%B4%EC%9D%98%20%EC%98%A8%EB%8F%84%20%EC%9D%B4%EA%B8%B0%EC%A3%BC'
[u'\uc774\uae30\uc8fc']
[u'\uc800']
Error parsing authors for url: u'http://ridibooks.com/v2/Detail?id=1930000002&_s=ret&_q=%EC%96%B8%EC%96%B4%EC%9D%98%20%EC%98%A8%EB%8F%84%20%EC%9D%B4%EA%B8%B0%EC%A3%BC'
Traceback (most recent call last):
File "calibre_plugins.ridibooks.worker", line 126, in parse_details
File "calibre_plugins.ridibooks.worker", line 266, in parse_authors
ValueError: u'\uc5ed' is not in list
Could not find title/authors/ridibooks id for u'http://ridibooks.com/v2/Detail?id=1930000002&_s=ret&_q=%EC%96%B8%EC%96%B4%EC%9D%98%20%EC%98%A8%EB%8F%84%20%EC%9D%B4%EA%B8%B0%EC%A3%BC'
Ridibooks: u'1930000002' Title: u'\uc5b8\uc5b4\uc758 \uc628\ub3c4' Authors: []
So I found this plugin here and install it to my Calibre, but I'm not sure how it works. When I add a ridibooks file (.epub) to Calibre, it didn't open.
Hello,
I managed to get the epubs from ridibooks, but I can't open them, it's all garbled. I think it's because of the encoding. Do you open ridibooks epubs? If so, how?
Thanks,
안녕하세요 이거 사용해보려고 하는데
cannot import name 'quote' from 'urllib' 라는 메세지가 떠요.. 혹시 어떻게 고칠 수 있는지 알려주실 수 있으실까요?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.