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

Where to group what function #22

Closed
XeonPhobia opened this issue Jul 15, 2017 · 1 comment
Closed

Where to group what function #22

XeonPhobia opened this issue Jul 15, 2017 · 1 comment

Comments

@XeonPhobia
Copy link

I'm working on ripping Imgsrc.ru, it has the following steps:

Get URLs to albums
Each page contains 50 URLs that can easily be sanitized into the album URL. (What method do I use for this?)

Each album URL contains a number of sub-URLs. (What method do I use for this?)

Each sub-URL do I use the following methods to download all images from the site.
getURLsFromPage()
downloadURL()
This is the part that works just fine.

@cyian-1756
Copy link
Collaborator

Each page contains 50 URLs that can easily be sanitized into the album URL. (What method do I use for this?)

getUrlsFromPage

Each album URL contains a number of sub-URLs. (What method do I use for this?)

AFAIk there is no built in method, you'll have to write your own. You can check the myhentaicomics ripper to see how I did it

Each sub-URL do I use the following methods to download all images from the site.
getURLsFromPage()
downloadURL()
This is the part that works just fine.

I didn't quite any stand why you meant there could you reword it?

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

2 participants