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

Feature: Limit downloading to certain file extensions with pattern #75

Closed
CohenArthur opened this issue May 6, 2020 · 5 comments · Fixed by #83
Closed

Feature: Limit downloading to certain file extensions with pattern #75

CohenArthur opened this issue May 6, 2020 · 5 comments · Fixed by #83
Assignees
Labels
good first issue Good for newcomers scraper Scraper related issue

Comments

@CohenArthur
Copy link
Collaborator

A nice option would be to restrict the downloading (but not the visiting) of content with a certain extension. For example, running suckit <url> --extensions "mp[3-4]" would only download MP3 and MP4 files using a regex

@CohenArthur CohenArthur added good first issue Good for newcomers scraper Scraper related issue labels May 6, 2020
@creativcoder
Copy link
Contributor

Hey @CohenArthur I'd like to work on this!

@CohenArthur
Copy link
Collaborator Author

Sure ! Thanks a lot @creativcoder

@CohenArthur
Copy link
Collaborator Author

@creativcoder I think it would be nice to also add a form of "exclusion" to exclude some file types, using a regex as well. We can open a separate issue or you can work on it as well if you want

@creativcoder
Copy link
Contributor

Exclude as in not visit the links? Sure, will add that as well!

@CohenArthur
Copy link
Collaborator Author

CohenArthur commented May 6, 2020

As in visit the links to find more links, but do not download the files. Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers scraper Scraper related issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants