Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] selenium.common.exceptions.TimeoutException #5

Open
Cyber5imon opened this issue Oct 1, 2020 · 6 comments
Open

[BUG] selenium.common.exceptions.TimeoutException #5

Cyber5imon opened this issue Oct 1, 2020 · 6 comments
Assignees

Comments

@Cyber5imon
Copy link

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:
@HacDan
Copy link

HacDan commented Oct 9, 2020

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.

@Cyber5imon
Copy link
Author

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.

@matthefish
Copy link

Someone please fork it -- amazon is so annoying with how protective they are of kindle data

@msuozzo
Copy link
Owner

msuozzo commented Nov 16, 2020

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.

@msuozzo msuozzo self-assigned this Nov 16, 2020
@msuozzo
Copy link
Owner

msuozzo commented Nov 22, 2020

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.

@msuozzo
Copy link
Owner

msuozzo commented Nov 23, 2020

Quicker update: I've got a proof-of-concept working. Working on getting the PR ready.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants