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

Disable individual download sites #2972

Closed
demiantres opened this issue May 23, 2014 · 4 comments
Closed

Disable individual download sites #2972

demiantres opened this issue May 23, 2014 · 4 comments

Comments

@demiantres
Copy link

@demiantres demiantres commented May 23, 2014

Hi,
Is it possible to configure the python scripts so that certain portals are disabled? Just removing the extractor files produces errors.
Regards,

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented May 23, 2014

You have to remove the file and the import statement in youtube_dl/extractor/init.py.
Why do you need it?

@phihag
Copy link
Contributor

@phihag phihag commented May 23, 2014

Can you elaborate why you do want that? If certain extractors are
errorneous, I believe there are easier ways than disabling them. For
one, we could simply fix them.

@demiantres
Copy link
Author

@demiantres demiantres commented May 23, 2014

It would e.g. be useful to hinder my kids to use the script to download from certain sites.

@phihag
Copy link
Contributor

@phihag phihag commented May 23, 2014

Simply add --age-limit 12 (substitute 12 for your kids' age) to /etc/youtube-dl.conf. There is no need to modify youtube-dl itself.

@phihag phihag closed this May 23, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.