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

source-address not working as expected? #20670

Closed
Elite opened this issue Apr 14, 2019 · 7 comments
Closed

source-address not working as expected? #20670

Elite opened this issue Apr 14, 2019 · 7 comments
Labels

Comments

@Elite
Copy link

@Elite Elite commented Apr 14, 2019

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like this: [x])
  • Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2019.04.07. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2019.04.07

Before submitting an issue make sure you have:

  • [x ] At least skimmed through the README, most notably the FAQ and BUGS sections
  • [ x] Searched the bugtracker for similar issues including closed ones
  • [ x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • [ x] Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

Since youtube was rate limiting my server ip, I got new ip allocated from my web host and added it to eth0 using ip addr add xx.xx.xx.YYY/24 dev eth0, I can see both the ip's when using ip addr command.

inet xx.xxx.xxx.xxx/24 brd xx.xxx.xxx.xxx scope global eth0 valid_lft forever preferred_lft forever inet xx.xxx.xxx.YYY/24 scope global secondary eth0 valid_lft forever preferred_lft forever

To make use of the new ip address, I used 'source-address':source_ip, in my python script but the resulting url from youtube still has my older IP address.

What am I missing here?

@remitamine remitamine closed this Apr 14, 2019
@remitamine remitamine added the invalid label Apr 14, 2019
@Elite
Copy link
Author

@Elite Elite commented Apr 15, 2019

The syntax seems fine, can you pls tell what am I missing here?

@remitamine
Copy link
Collaborator

@remitamine remitamine commented Apr 15, 2019

it's source_address not source-address.

@Elite
Copy link
Author

@Elite Elite commented Apr 15, 2019

Pls. fix the front page options, I copy pasted from there.

sshot-1

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Apr 15, 2019

These are command line options not python API options.

@Elite
Copy link
Author

@Elite Elite commented Apr 15, 2019

OK, go it.

However, I guess both some should be in harmony for ease of use and clear understanding.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Apr 15, 2019

That's technically impossible since not all options have the same meaning.

@ytdl-org ytdl-org locked as resolved and limited conversation to collaborators Apr 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
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.