[BUG] selenium.common.exceptions.TimeoutException
Cyber5imon opened this issue · 6 comments
I know this hasn't been updated in a while, but is this still working for everyone? I receive a timeout error as follows:
/usr/lib/python2.7/dist-packages/selenium/webdriver/phantomjs/webdriver.py:49: UserWarning: Selenium support for PhantomJS has been deprecated, please use headless versions of Chrome or Firefox instead
warnings.warn('Selenium support for PhantomJS has been deprecated, please use headless '
Traceback (most recent call last):
File "./book.py", line 5, in <module>
api = lector.KindleCloudReaderAPI('email@address.com', 'password')
File "/home/simon/git/Lector/lector/reader.py", line 326, in __init__
self._browser = _KindleCloudReaderBrowser(username, password)
File "/home/simon/git/Lector/lector/reader.py", line 182, in __init__
self._init_browser()
File "/home/simon/git/Lector/lector/reader.py", line 192, in _init_browser
self._to_reader_home()
File "/home/simon/git/Lector/lector/reader.py", line 218, in _to_reader_home
self._wait(5).until(login_or_reader_loaded)
File "/usr/lib/python2.7/dist-packages/selenium/webdriver/support/wait.py", line 80, in until
raise TimeoutException(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message:
There was some discussion a few years ago saying that URL was no longer valid and seems to be the case again. Not a lot of activity on this project though.
I'm debating on forking it and fixing it, although I wonder if it would be easier to just start over.
I did a little bit of digging to see how much change there has been to the source code for the pages being scrapped. It still looks pretty accurate. Enough to not through everything away and start from scratch, anyway...
I this isn't being maintained any longer, I will probably fork it and take a stab at bringing it up to date. It's pretty helpful to have an API type interface into the Kindle world.
Someone please fork it -- amazon is so annoying with how protective they are of kindle data
Hey all,
Apologies for the radio silence. I'm circling back to this project and will provide a fix in the near future.
Thanks for the interest and I look forward to getting everyone back on track.
Quick update: The Cloud Reader site no longer exports the symbols necessary to use this approach to get reading progress. I'm still playing around with some options but, unfortunately, it's not going to be a simple fix.
Quicker update: I've got a proof-of-concept working. Working on getting the PR ready.