We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I have found that on the git version, in certain conditions, the js_to_json parser will remove a comma from the data, resulting in unparsable json.
This can be seen on the link https://www.rtp.pt/play/p1039/odisseia, where the JS
id: "player_prog", fileKey: "/nas2.share/h264/512x384/odisseia/odisseia_1_20130120.mp4", file : "https://streaming-ondemand.rtp.pt/nas2.share/h264/512x384/odisseia/index.m3u8?tlm=hls&streams=odisseia_1_20130120.mp4.m3u8:1024", seekBarThumbnailsLoc: '//cdn-images.rtp.pt/multimedia/screenshots/', adsType: 'dfp', subadUnit: 'Play', streamType:"ondemand", googleCast: true, //extraSettings: { googleCastReceiverAppId:'1A6F2224', skin:'s3', skinAccentColor: '0073FF'}, extraSettings: { googleCastReceiverAppId:'1A6F2224'}, mediaType: "video", poster: "https://cdn-images.rtp.pt/EPG/imagens/29649_34099_15556.png?v=3&w=1170", modules: [{ name: 'RTPFavIcon', bucket: '1' }] }
turns into JSON
{ "id": "player_prog", "fileKey": "/nas2.share/h264/512x384/odisseia/odisseia_1_20130120.mp4", "file" : "https://streaming-ondemand.rtp.pt/nas2.share/h264/512x384/odisseia/index.m3u8?tlm=hls&streams=odisseia_1_20130120.mp4.m3u8:1024", "seekBarThumbnailsLoc": "//cdn-images.rtp.pt/multimedia/screenshots/", "adsType": "dfp", "subadUnit": "Play", "streamType":"ondemand", "googleCast": true "extraSettings": { "googleCastReceiverAppId":"1A6F2224"}, "mediaType": "video", "poster": "https://cdn-images.rtp.pt/EPG/imagens/29649_34099_15556.png?v=3&w=1170", "modules": [{ "name": "RTPFavIcon", "bucket": "1" }] }
The comma after the googleCast key was removed, resulting in an error.
This is caused by this line of code:
youtube-dl/youtube_dl/utils.py
Line 2422 in ead467a
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Checklist
Description
I have found that on the git version, in certain conditions, the js_to_json parser will remove a comma from the data, resulting in unparsable json.
This can be seen on the link https://www.rtp.pt/play/p1039/odisseia, where the JS
turns into JSON
The comma after the googleCast key was removed, resulting in an error.
This is caused by this line of code:
youtube-dl/youtube_dl/utils.py
Line 2422 in ead467a
The text was updated successfully, but these errors were encountered: