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

Can't screenshot long pages #2

Open
mrwm opened this issue Jul 5, 2019 · 7 comments
Open

Can't screenshot long pages #2

mrwm opened this issue Jul 5, 2019 · 7 comments

Comments

@mrwm
Copy link

mrwm commented Jul 5, 2019

The program screenshots the first half of the page, then moves onto the next without scrolling down, this leaves out the bottom half of the books unrecorded.

@manhtai
Copy link
Owner

manhtai commented Jul 5, 2019

Please make sure you had the right coordinates for the page, you can make a quick check by calculating the size of page using coordinates.

@mrwm
Copy link
Author

mrwm commented Jul 5, 2019

I'm using the coordinates provided on the screen, but there's more on the page that needs to be scrolled down to see. If I scroll down, the coordinates on the screen will stay the same regardless of page position

@manhtai
Copy link
Owner

manhtai commented Jul 7, 2019

Oh I see, you have to fit the page into your screen first, my script doesn’t scroll page for now, it just captures what it sees in the coordinates.

@vortex91
Copy link

vortex91 commented Sep 2, 2019

Im not sure if vitalsource did it on purpose or not but there are cases where there are over 20 pages to scroll down to in 1 page.

@srustamo
Copy link

Adding a vote for multi-page use-case.

@srustamo
Copy link

@vortex91
I modified the code to scroll down (with pushing SPACE). Have a look at this gist.

@EngineNeo
Copy link

Hello,
I was able to get it sort of running but it resulted in the first iteration of the for loop to press enter once then go directly to the next page. Was anyone able to fix this or have something else available?

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

5 participants