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

Running youtube-dl via proxychains with python command? #6775

Closed
nadermx opened this issue Sep 6, 2015 · 1 comment
Closed

Running youtube-dl via proxychains with python command? #6775

nadermx opened this issue Sep 6, 2015 · 1 comment

Comments

@nadermx
Copy link

@nadermx nadermx commented Sep 6, 2015

I was wondering if I had to use sub process when trying to run youtube-dl through proxychains?

or can you do something along the lines of

ydl_opts = {
   'proxychain' : True,
    'format': 'bestaudio/best',
    'postprocessors': [{
        'key': 'FFmpegExtractAudio',
        'preferredcodec': 'mp3',
        'preferredquality': '192',
    }],
    'logger': MyLogger(),
    'progress_hooks': [my_hook],
}
@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Sep 6, 2015

You can run the script with proxychains: proxychains python /path/to/your/script.py. I don't know if there's any way to use proxychains only in some part of the script.

@jaimeMF jaimeMF closed this Sep 6, 2015
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
2 participants
You can’t perform that action at this time.