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

Corrupted json output (windows only?) #2779

Closed
ghost opened this issue Apr 20, 2014 · 1 comment
Closed

Corrupted json output (windows only?) #2779

ghost opened this issue Apr 20, 2014 · 1 comment

Comments

@ghost
Copy link

@ghost ghost commented Apr 20, 2014

Hi,
I wanted to write some youtube playlist player (only audio like a radio) for my personal use.

And found this bug...

Last working version is 2014.04.07.2, here is output

[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['http://play.iprima.cz/particka/particka-92', '-j', '--verbose']
[debug] Encodings: locale cp1250, fs mbcs, out cp852, pref cp1250
[debug] youtube-dl version 2014.04.07.2
[debug] Python version 2.7.6 - Windows-7-6.1.7601-SP1
[debug] Proxy map: {}
{"extractor": "IPrima", "fulltitle": "Parti\u010dka (92)", "quality": 2, "playli
st_index": null, "playlist": null, "title": "Parti\u010dka (92)", "_filename": "
Parti\u010dka (92)-39152.flv", "id": "39152", "thumbnail": "http://play.iprima.c
z/sites/default/files/image_crops/image_620x349/3/491483_particka-92_image_620x3
49.jpg", "webpage_url_basename": "particka-92", "display_id": "39152", "descript
ion": "Improviza\u010dn\u00ed show, kde je z\u00e1bava tak hust\u00e1, \u017ee b
y se dala kr\u00e1jet. Nenechte si uj\u00edt jedine\u010dnou p\u0159\u00edle\u01
7eitost vid\u011bt, jak si kone\u010dn\u011b d\u011bl\u00e1 n\u011bkdo srandu ze
 'Sucho\u0161e a Geni', konkr\u00e9tn\u011b tedy jejich kolegov\u00e9 Igor Chmel
a, Ond\u0159ej Sokol a Daniel Dangl. A jak takov\u00e9 tr\u00e1pen\u00ed bavi\u0
10d\u016f vypad\u00e1? Uvid\u00edte v Parti\u010dce! (Premi\u00e9ra)", "format":
 "hd - unknown", "format_id": "hd", "play_path": "mp4:hq/Prima-1401281146-39152_
1500", "stitle": "Parti\u010dka (92)", "rtmp_live": true, "url": "rtmp://bcastlw
.livebox.cz:80/iprima_token?auth=_any_|1398027763|b9b99d4a1c8bf3bcae503c86e41205
b7bf8c368b", "extractor_key": "IPrima", "ext": "flv", "webpage_url": "http://pla
y.iprima.cz/particka/particka-92", "formats": [{"rtmp_live": true, "format": "lq
 - unknown", "url": "rtmp://bcastlw.livebox.cz:80/iprima_token?auth=_any_|139802
7763|b9b99d4a1c8bf3bcae503c86e41205b7bf8c368b", "play_path": "mp4:Prima-14012811
46-39152_500", "ext": "flv", "format_id": "lq", "quality": 0}, {"rtmp_live": tru
e, "format": "hq - unknown", "url": "rtmp://bcastlw.livebox.cz:80/iprima_token?a
uth=_any_|1398027763|b9b99d4a1c8bf3bcae503c86e41205b7bf8c368b", "play_path": "mp
4:Prima-1401281146-39152_1000", "ext": "flv", "format_id": "hq", "quality": 1},
{"rtmp_live": true, "format": "hd - unknown", "url": "rtmp://bcastlw.livebox.cz:
80/iprima_token?auth=_any_|1398027763|b9b99d4a1c8bf3bcae503c86e41205b7bf8c368b",
 "play_path": "mp4:hq/Prima-1401281146-39152_1500", "ext": "flv", "format_id": "
hd", "quality": 2}]}

if i use later version starting from 2014.04.07.3, json output is corrupted

[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['http://play.iprima.cz/particka/particka-92', '-j', '--verbose']
[debug] Encodings: locale cp1250, fs mbcs, out cp852, pref cp1250
[debug] youtube-dl version 2014.04.07.3
[debug] Python version 2.7.6 - Windows-7-6.1.7601-SP1
[debug] Proxy map: {}
{"extractor": "IPrima", "fulltitle": "Parti\u010dka (92)", "quality": 2, "playli
st_index": null, "playlist": null, "title": "Parti\u010dka (92)", "_filename": "
Parti\u010dka (92)-39152.flv", "id": "39152", "thumbnail": "http://play.iprima.c
z/sites/default/files/image_crops/image_620x349/3/491483_particka-92_image_620x3
49.jpg", "webpage_url_basename": "particka-92", "display_id": "39152", "descript
ion": "Improviza\u010dn\u00ed show, kde je z\u00e1bava tak hust\u00e1, \u017ee b
y se dala kr\u00e1jet. Nenechte si uj\u00edt jedine\u010dnou p\u0159\u00edle\u01
7eitost vid\u011bt, jak si kone\u010dn\u011b d\u011bl\u00e1 n\u011bkdo srandu ze
 'Sucho\u0161e a Geni', konkr\u00e9tn\u011b tedy jejich kolegov\u00e9 Igor Chmel
a, Ond\u0159ej Sokol a Daniel Dangl. A jak takov\u00e9 tr\u00e1pen\u00ed bavi\u0
10d\u016f vypad\u00e1? Uvid\u00edte v Parti\u010dce! (Premi\u00e9ra)", "format":
 "hd - unknown", "format_id": "hd", "play_path": "mp4:hq/Prima-1401281146-39152_
1500", "stitle": "Parti\u010dka (92)", "rtmp_live": true, "url":{"extractor": "I
Prima", "fulltitle": "Parti\u010dka (92)", "quality": 2, "playlist_index": null,
 "playlist": null, "title": "Parti\u010dka (92)", "_filename": "Parti\u010dka (9
2)-39152.flv", "id": "39152", "thumbnail": "http://play.iprima.cz/sites/default/
files/image_crops/image_620x349/3/491483_particka-92_image_620x349.jpg", "webpag
e_url_basename": "particka-92", "display_id": "39152", "description": "Improviza
\u010dn\u00ed show, kde je z\u00e1bava tak hust\u00e1, \u017ee by se dala kr\u00
e1jet. Nenechte si uj\u00edt jedine\u010dnou p\u0159\u00edle\u017eitost vid\u011
bt, jak si kone\u010dn\u011b d\u011bl\u00e1 n\u011bkdo srandu ze 'Sucho\u0161e a
 Geni', konkr\u00e9tn\u011b tedy jejich kolegov\u00e9 Igor Chmela, Ond\u0159ej S
okol a Daniel Dangl. A jak takov\u00e9 tr\u00e1pen\u00ed bavi\u010d\u016f vypad\
u00e1? Uvid\u00edte v Parti\u010dce! (Premi\u00e9ra)", "format": "hd - unknown",
 "format_id": "hd", "play_path": "mp4:hq/Prima-1401281146-39152_1500", "stitle":
 "Parti\u010dka (92)", "rtmp_live": true, "url":

I think that there is problem in commit b58ddb3. Thanks

@phihag
Copy link
Contributor

@phihag phihag commented Apr 21, 2014

Thank you for the report. Fixed in youtube-dl 2014.04.21.1.

@phihag phihag closed this in d1b9c91 Apr 21, 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
1 participant
You can’t perform that action at this time.