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 Request, addition to dump-pages #15471

Closed
Quaraxkad opened this issue Feb 2, 2018 · 2 comments
Closed

Feature Request, addition to dump-pages #15471

Quaraxkad opened this issue Feb 2, 2018 · 2 comments

Comments

@Quaraxkad
Copy link

@Quaraxkad Quaraxkad commented Feb 2, 2018

When running a command with the --dump-pages parameter, the response body is printed, base64 encoded. I would also like to see the request body when that request was a POST. Maybe also list the headers used for each request.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Feb 2, 2018

--print-traffic.

@dstftw dstftw closed this Feb 2, 2018
@Quaraxkad
Copy link
Author

@Quaraxkad Quaraxkad commented Feb 2, 2018

Before posting, I read the documentation, and I thought that parameter would do what I wanted. Instead, it actually does nothing. So maybe that's a bug?

C:>youtube-dl "https://www.youtube.com/watch?v=r7pqc26TWAg" -f worst
[youtube] r7pqc26TWAg: Downloading webpage
[youtube] r7pqc26TWAg: Downloading video info webpage
[youtube] r7pqc26TWAg: Extracting video information
[download] Resuming download at byte 3472384
[download] Destination: My 10 Year Old Chiller WORKS! -20C on THREADRIPPER!-r7pqc26TWAg.3gp
[download] 100% of 8.84MiB in 00:00

C:>youtube-dl "https://www.youtube.com/watch?v=r7pqc26TWAg" -f worst --print-traffic
[youtube] r7pqc26TWAg: Downloading webpage
[youtube] r7pqc26TWAg: Downloading video info webpage
[youtube] r7pqc26TWAg: Extracting video information
[download] Resuming download at byte 2128896
[download] Destination: My 10 Year Old Chiller WORKS! -20C on THREADRIPPER!-r7pqc26TWAg.3gp
[download] 100% of 8.84MiB in 00:00

I intentionally left that out of my original post because I wasn't certain what it was supposed to do, and figured it was a separate issue for a separate thread.

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.