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

spaces in format code #8494

Closed
Barnestos opened this issue Feb 10, 2016 · 6 comments
Closed

spaces in format code #8494

Barnestos opened this issue Feb 10, 2016 · 6 comments

Comments

@Barnestos
Copy link

@Barnestos Barnestos commented Feb 10, 2016

Hello,
the mediathek of orf.at uses spaces an d brackets in the formatcode name...
format:
...
progressive-Q8C-sehr hoch (HD) mp4 unknown (best)
...
how can i download a format with spaces and brackets in the name?

thank you,
Barnestos

@Delivator
Copy link

@Delivator Delivator commented Feb 10, 2016

Did you try to use Quotation Marks?
"progressive-Q8C-sehr hoch"

I can't test it now :/

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Feb 10, 2016

At least post the url you are trying to download.

@Barnestos
Copy link
Author

@Barnestos Barnestos commented Feb 10, 2016

command:

youtube-dl http://tvthek.orf.at/program/Overtime-Das-Eishockey-Magazin/8444017/Overtime-Das-Eishockey-Magazin-Folge-22/11930042
[ORF] 8444017: Downloading webpage
[ORF] 11943063: Testing for geoblocking
[download] Downloading playlist: 8444017
[ORF] playlist 8444017: Collected 1 video ids (downloading 1 of them)
[download] Downloading video #1 of 1
ERROR: unable to download video data: HTTP Error 404: Not Found

So, I looked at the formats :

[ORF] 11943063: Testing for geoblockingyoutube-dl -F http://tvthek.orf.at/program/Overtime-Das-Eishockey-Magazin/8444017/Overtime-Das-Eishockey-Magazin-Folge-22/11930042
[ORF] 8444017: Downloading webpage
[ORF] 11943063: Testing for geoblocking
[download] Downloading playlist: 8444017
[ORF] playlist 8444017: Collected 1 video ids (downloading 1 of them)
[download] Downloading video #1 of 1
[info] Available formats for 11943063:
format code extension resolution note
hls-Q1A-niedrig m3u8 unknown (worst)
hls-Q4A-mittel m3u8 unknown
hls-Q8C-sehr hoch (HD) m3u8 unknown
hds-Q1A-niedrig f4m unknown (unsupported)
hds-Q4A-mittel f4m unknown (unsupported)
hds-Q6A-hoch f4m unknown (unsupported)
hds-Q8C-sehr hoch (HD) f4m unknown (unsupported)
streaming-SMIL-hoch mp4 unknown
streaming-Q1A-mittel 3gp unknown
streaming-Q1A-niedrig 3gp unknown
streaming-Q4A-mittel mp4 unknown
streaming-Q4A-niedrig mp4 unknown
streaming-Q6A-hoch mp4 unknown
streaming-Q8C-sehr hoch (HD) mp4 unknown
streaming-Q8C-sehr hoch (HD) mp4 unknown
progressive-Q1A-niedrig 3gp unknown
progressive-Q4A-mittel mp4 unknown
progressive-Q6A-hoch mp4 unknown
progressive-Q8C-sehr hoch (HD) mp4 unknown (best)

Here are the spaces...
now with quotation marks:

youtube-dl -f "progressive-Q8C-sehr hoch (HD)" http://tvthek.orf.at/program/Overtime-Das-Eishockey-Magazin/8444017/Overtime-Das-Eishockey-Magazin-Folge-22/11930042
[ORF] 8444017: Downloading webpage
[ORF] 11943063: Testing for geoblocking
[download] Downloading playlist: 8444017
[ORF] playlist 8444017: Collected 1 video ids (downloading 1 of them)
[download] Downloading video #1 of 1
ERROR: unable to download video data: HTTP Error 404: Not Found

now i'm using a format without spaces and '()' using quotation marks:

youtube-dl -f "progressive-Q6A-hoch" http://tvthek.orf.at/program/Overtime-Das-Eishockey-Magazin/8444017/Overtime-Das-Eishockey-Magazin-Folge-22/11930042
[ORF] 8444017: Downloading webpage
[ORF] 11943063: Testing for geoblocking
[download] Downloading playlist: 8444017
[ORF] playlist 8444017: Collected 1 video ids (downloading 1 of them)
[download] Downloading video #1 of 1
[download] Destination: Overtime - Das Eishockey Magazin - Folge 22-11943063.mp4
[download] 0.3% of 185.14MiB at 155.67KiB/s ETA 20:14^C
ERROR: Interrupted by user

this is working - so is there a problem with spaces and brackets?

@dstftw dstftw closed this in e2effb0 Feb 10, 2016
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Feb 10, 2016

Fixed in youtube-dl 2016.02.10.

@Barnestos
Copy link
Author

@Barnestos Barnestos commented Feb 11, 2016

thank you!

@Delivator
Copy link

@Delivator Delivator commented Feb 11, 2016

You're welcome!

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
4 participants
You can’t perform that action at this time.