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

EMPTY DOWNLOAD #31

Open
bap269 opened this issue Nov 14, 2020 · 17 comments
Open

EMPTY DOWNLOAD #31

bap269 opened this issue Nov 14, 2020 · 17 comments

Comments

@bap269
Copy link

bap269 commented Nov 14, 2020

I successfully downloaded a series on TAPAS but it was empty?
How to fix it?

@TilCreator
Copy link
Owner

Please be a bit more specific, what was the command you used, what did it output and so on?

@bap269
Copy link
Author

bap269 commented Nov 16, 2020

here's a screen shot of my cmd
xuanlong

@TilCreator
Copy link
Owner

"Downloading pages" means that it is crawling for the image data, you won't see any images in the directory until it says "Downloading images"

@bap269
Copy link
Author

bap269 commented Nov 16, 2020 via email

@TilCreator
Copy link
Owner

Jup

@bap269
Copy link
Author

bap269 commented Nov 16, 2020

it just stays on this part tho....
xuanlong

@TilCreator
Copy link
Owner

That is weird, I will try to replicate it.

@TilCreator
Copy link
Owner

On my machine: It does create the epub, but all the text is missing, will check what is going wrong

@TilCreator
Copy link
Owner

Shoud be fixed in 2373a2e

@TilCreator
Copy link
Owner

Also sadly about half of the book is for logged in users only and the script doesn't know how to handle that jet

@TilCreator
Copy link
Owner

TilCreator commented Nov 16, 2020

(You will also find the epub next to the directory, not in the directory)

@Trashblob
Copy link

Also sadly about half of the book is for logged in users only and the script doesn't know how to handle that jet

Is there a known workaround to do that? Maybe loading out of a cached website or something?

@TilCreator
Copy link
Owner

The easiest way would be to export the session cookies from the browser and then get the script to use those cookies (the used module is called requests and should support using cookies for requests). That should give a small time window where the script can fake being a logged in user. The other option would be to use the browser itself (with a logged in user) for making the requests with selenium or similar, example: https://gitlab.com/TilCreator/mc-vanilla-pp/-/blob/master/helpers/crawl_curseforge.py#L14

Sadly I will not be able to implement that in the next weeks. But for everyone who knows what their doing this should be enough to implement this themselves.

@Trashblob
Copy link

Trashblob commented Dec 12, 2020

Damn that was a fast response, thank you!
I'll check that out, even tho I have no Idea what I'm doing (yet) lol.

But good to hear that you're still working on it, because I really like your work. Keep it up. :)

@TilCreator
Copy link
Owner

9b39041 should fix this/(where this has developed to)

@t4rra
Copy link

t4rra commented Jul 14, 2021

Am getting the same issue when downloading novels, the text is still missing. Tried again with a cookie file, got AttributeError: 'MozillaCookieJar' object has no attribute 'update' in return.

@archziac
Copy link

archziac commented Feb 7, 2022

Shoud be fixed in 2373a2e

Hello. I want to say that I'm still facing this problem. I have downloaded a novel but whenever i open the EPUB file it's just the chapter names and the table of contents in there and except that all the chapters are empty

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