[pbs] Attempting to download a playlist is only giving me one video #5118

Open
opened 2026-02-21 02:35:00 -05:00 by deekerman · 5 comments
Owner

Originally created by @keybounce on GitHub (Jul 19, 2015).

youtube-dl -f 'bestvideo[height<=480][ext=mp4]+bestaudio[ext=m4a]/[height<=?480]' --sub-lang en --write-sub --recode-video mp4 --yes-playlist 'http://video.pbs.org/video/2326108547/?playlist=true&autoplay=true'

Fetches the first video, only.
Does get the subtitles now :-)

Originally created by @keybounce on GitHub (Jul 19, 2015). youtube-dl -f 'bestvideo[height<=480][ext=mp4]+bestaudio[ext=m4a]/[height<=?480]' --sub-lang en --write-sub --recode-video mp4 --yes-playlist 'http://video.pbs.org/video/2326108547/?playlist=true&autoplay=true' Fetches the first video, only. Does get the subtitles now :-)
Author
Owner

@remitamine commented on GitHub (Jul 31, 2015):

when i play it in the browser it play only a single video.
and the video info loaded in the browser also contain a single video:

{
    "title": "Rise of the Drones",
    "description": "Meet a new breed of flying robots, from tiny swarming vehicles to giant unmanned planes.",
    "can_play_preroll": true,
    "short_description": "Meet a new breed of flying robots, from tiny swarming vehicles to giant unmanned planes.",
    "allow_embed": true,
    "rating": "TV-PG",
    "funder_data": {
        "underwriting": null,
        "nola_episode": "004003",
        "nola_root": "NOVA"
    },
    "related_links": [{
        "url": "http://www.pbs.org/wgbh/nova/military/rise-of-the-drones.html#editor-res-note",
        "title": "Program Note"
    }],
    "related_content": [{
        "url": "http://www.pbs.org/wgbh/nova/military/astrospies.html",
        "image": "http://s3.amazonaws.com/pbs.merlin.cdn.prod/curatedwebobjects/tmpcCaSuS.jpg",
        "description": "An elite corps of secret U.S. astronauts is trained to gather intelligence on the Soviets during the Cold War.",
        "title": "Astrospies"
    }, {
        "url": "http://www.pbs.org/wgbh/nova/tech/how-dumb-are-drones.html",
        "image": "http://s3.amazonaws.com/pbs.merlin.cdn.prod/curatedwebobjects/tmpVGeeJh.jpg",
        "description": "The real questions are, how autonomous are they now and how autonomous can they get?",
        "title": "How Dumb Are Drones?"
    }, {
        "url": "http://www.pbs.org/wgbh/nova/military/see-spy-photos.html",
        "image": "http://s3.amazonaws.com/pbs.merlin.cdn.prod/curatedwebobjects/tmpLASCWH.jpg",
        "description": "A surveillance-image specialist analyzes photos of Afghanistan, Iraq, North Korea, and other political hotspots.",
        "title": "See Spy Photos"
    }, {
        "url": "http://www.pbs.org/wgbh/nova/military/rise-of-the-drones.html#editor-res-note",
        "image": "http://s3.amazonaws.com/pbs.merlin.cdn.prod/curatedwebobjects/rise-of-the-drones-rc_1.jpg",
        "description": "“Rise of the Drones” is produced by WGBH, which maintains complete editorial control over all episodes of NOVA. Lockheed Martin Foundation was a minor funder of the NOVA series at the time this program was broadcast. Its parent company, Lockheed Martin produces the RQ-170 Sentinel drone technology mentioned in the program.",
        "title": "Program Note"
    }],
    "contentID": 2326108547,
    "liverail": {
        "verticals": "program_pbs_nova",
        "id": 1415,
        "ad_map": "in:warnings:0;in:pbs:0;in:pbs:815.0;in:pbs:1378.0;ov:pbs:3154,3169",
        "tags": "nolaroot_nova,program_pbs_nova,nova_004003,localstation_PBS"
    },
    "program": {
        "website": "http://www.pbs.org/wgbh/nova/",
        "page_tracking": "UA-3988832-1",
        "videos_uri": "http://merlin.pbs.org/rocket/list/program/42/videos/",
        "description": "NOVA explores innovations and discoveries from the world of science and technology while highlighting the human side of science.",
        "stack_uri": "http://merlin.pbs.org/rocket/list/program/42/videostack/",
        "title": "NOVA",
        "event_tracking": "UA-3988832-2",
        "producer": "pbs",
        "producer_website": "http://video.pbs.org",
        "stack": "http://s3.amazonaws.com/pbs.merlin.cdn.prod/program_pages/nova-stack-card.380x212.jpeg",
        "shorts_uri": "http://merlin.pbs.org/rocket/list/program/42/shorts/",
        "background": "http://s3.amazonaws.com/pbs.merlin.cdn.prod/program_pages/nova-background.950x356.jpeg",
        "logo": "http://s3.amazonaws.com/pbs.merlin.cdn.prod/program_pages/NOVA-NEW-TUNEIN-LOGO.png",
        "underwriting": "",
        "previews_uri": "http://merlin.pbs.org/rocket/list/program/42/previews/",
        "slug": "nova",
        "nola_root": "NOVA",
        "episodes_uri": "http://merlin.pbs.org/rocket/list/program/42/episodes/"
    },
    "nola_episode": "004003",
    "recommended_encoding": {
        "url": "http://urs.pbs.org/redirect/907cd349227f4fd4b429596626f621a4/",
        "bitrate": 0,
        "type": "streaming",
        "eeid": "mp4-800k-16x9",
        "mime_type": "video/mp4"
    },
    "alternate_encoding": {
        "url": "http://urs.pbs.org/redirect/d7725c467330420485d5b690d85db90a/",
        "bitrate": 0,
        "type": "download",
        "eeid": "mp4-baseline-16x9",
        "mime_type": "video/mp4"
    },
    "closed_captions_url": "http://ga.video.cdn.pbs.org/captions/nova/23b82c87-ecc8-474e-9c79-339ae6694b22/captions/173526_Encoded.dfxp",
    "chapters": [{
        "duration": 86000,
        "start_time": 0,
        "image": "http://image.pbs.org/video-assets/pbs/nova/67429/images/chapters/preview_329.jpg",
        "title": "Preview"
    }, {
        "duration": 729000,
        "start_time": 86000,
        "image": "http://image.pbs.org/video-assets/pbs/nova/67429/images/chapters/a-single-shot_974.jpg",
        "title": "A Single Shot"
    }, {
        "duration": 563000,
        "start_time": 815000,
        "image": "http://image.pbs.org/video-assets/pbs/nova/67429/images/chapters/advancing-aerially_698.jpg",
        "title": "Advancing Aerially"
    }, {
        "duration": 755000,
        "start_time": 1378000,
        "image": "http://image.pbs.org/video-assets/pbs/nova/67429/images/chapters/in-the-drivers-seat_076.jpg",
        "title": "In the Driver's Seat"
    }, {
        "duration": 651000,
        "start_time": 2133000,
        "image": "http://image.pbs.org/video-assets/pbs/nova/67429/images/chapters/flight-or-plight_962.jpg",
        "title": "Flight or Plight"
    }, {
        "duration": 388000,
        "start_time": 2784000,
        "image": "http://image.pbs.org/video-assets/pbs/nova/67429/images/chapters/the-future-of-drones_581.jpg",
        "title": "The Future of Drones"
    }],
    "dvd_link": "http://www.shoppbs.org/product/index.jsp?productId=18096616&utm_source=PBS&utm_medium=Link&utm_content=nova_riseofthedrones_covebuyit&utm_campaign=cove_buyit",
    "itunes_link": "https://itunes.apple.com/us/tv-season/nova-vol.-9/id587380870?uo=4&at=11l3Sf&ct=Nova9COVE",
    "com_scores": ["030900", "030900"],
    "duration": 3184,
    "image_url": "http://image.pbs.org/video-assets/pbs/nova/67429/images/Mezzanine_963.jpg",
    "airdate": 1358974800,
    "expiredate": null,
    "not_yet_available": false,
    "event_tracking": {
        "station_events": [""],
        "national_events": ["UA-6766312-2"],
        "program_events": ["UA-3988832-2"],
        "program_station_events": [""]
    },
    "mvod": {
        "station": {
            "common_name": "PBS",
            "plus_url": "",
            "callsign": "pbs",
            "image": "http://image.pbs.org/station-images/MVOD/pbs.png"
        },
        "nearby_stations": [],
        "is_mvod_restricted": false,
        "is_mvod": false,
        "is_mvod_user": false
    }
}
@remitamine commented on GitHub (Jul 31, 2015): when i play it in the browser it play only a single video. and the video info loaded in the browser also contain a single video: ``` { "title": "Rise of the Drones", "description": "Meet a new breed of flying robots, from tiny swarming vehicles to giant unmanned planes.", "can_play_preroll": true, "short_description": "Meet a new breed of flying robots, from tiny swarming vehicles to giant unmanned planes.", "allow_embed": true, "rating": "TV-PG", "funder_data": { "underwriting": null, "nola_episode": "004003", "nola_root": "NOVA" }, "related_links": [{ "url": "http://www.pbs.org/wgbh/nova/military/rise-of-the-drones.html#editor-res-note", "title": "Program Note" }], "related_content": [{ "url": "http://www.pbs.org/wgbh/nova/military/astrospies.html", "image": "http://s3.amazonaws.com/pbs.merlin.cdn.prod/curatedwebobjects/tmpcCaSuS.jpg", "description": "An elite corps of secret U.S. astronauts is trained to gather intelligence on the Soviets during the Cold War.", "title": "Astrospies" }, { "url": "http://www.pbs.org/wgbh/nova/tech/how-dumb-are-drones.html", "image": "http://s3.amazonaws.com/pbs.merlin.cdn.prod/curatedwebobjects/tmpVGeeJh.jpg", "description": "The real questions are, how autonomous are they now and how autonomous can they get?", "title": "How Dumb Are Drones?" }, { "url": "http://www.pbs.org/wgbh/nova/military/see-spy-photos.html", "image": "http://s3.amazonaws.com/pbs.merlin.cdn.prod/curatedwebobjects/tmpLASCWH.jpg", "description": "A surveillance-image specialist analyzes photos of Afghanistan, Iraq, North Korea, and other political hotspots.", "title": "See Spy Photos" }, { "url": "http://www.pbs.org/wgbh/nova/military/rise-of-the-drones.html#editor-res-note", "image": "http://s3.amazonaws.com/pbs.merlin.cdn.prod/curatedwebobjects/rise-of-the-drones-rc_1.jpg", "description": "“Rise of the Drones” is produced by WGBH, which maintains complete editorial control over all episodes of NOVA. Lockheed Martin Foundation was a minor funder of the NOVA series at the time this program was broadcast. Its parent company, Lockheed Martin produces the RQ-170 Sentinel drone technology mentioned in the program.", "title": "Program Note" }], "contentID": 2326108547, "liverail": { "verticals": "program_pbs_nova", "id": 1415, "ad_map": "in:warnings:0;in:pbs:0;in:pbs:815.0;in:pbs:1378.0;ov:pbs:3154,3169", "tags": "nolaroot_nova,program_pbs_nova,nova_004003,localstation_PBS" }, "program": { "website": "http://www.pbs.org/wgbh/nova/", "page_tracking": "UA-3988832-1", "videos_uri": "http://merlin.pbs.org/rocket/list/program/42/videos/", "description": "NOVA explores innovations and discoveries from the world of science and technology while highlighting the human side of science.", "stack_uri": "http://merlin.pbs.org/rocket/list/program/42/videostack/", "title": "NOVA", "event_tracking": "UA-3988832-2", "producer": "pbs", "producer_website": "http://video.pbs.org", "stack": "http://s3.amazonaws.com/pbs.merlin.cdn.prod/program_pages/nova-stack-card.380x212.jpeg", "shorts_uri": "http://merlin.pbs.org/rocket/list/program/42/shorts/", "background": "http://s3.amazonaws.com/pbs.merlin.cdn.prod/program_pages/nova-background.950x356.jpeg", "logo": "http://s3.amazonaws.com/pbs.merlin.cdn.prod/program_pages/NOVA-NEW-TUNEIN-LOGO.png", "underwriting": "", "previews_uri": "http://merlin.pbs.org/rocket/list/program/42/previews/", "slug": "nova", "nola_root": "NOVA", "episodes_uri": "http://merlin.pbs.org/rocket/list/program/42/episodes/" }, "nola_episode": "004003", "recommended_encoding": { "url": "http://urs.pbs.org/redirect/907cd349227f4fd4b429596626f621a4/", "bitrate": 0, "type": "streaming", "eeid": "mp4-800k-16x9", "mime_type": "video/mp4" }, "alternate_encoding": { "url": "http://urs.pbs.org/redirect/d7725c467330420485d5b690d85db90a/", "bitrate": 0, "type": "download", "eeid": "mp4-baseline-16x9", "mime_type": "video/mp4" }, "closed_captions_url": "http://ga.video.cdn.pbs.org/captions/nova/23b82c87-ecc8-474e-9c79-339ae6694b22/captions/173526_Encoded.dfxp", "chapters": [{ "duration": 86000, "start_time": 0, "image": "http://image.pbs.org/video-assets/pbs/nova/67429/images/chapters/preview_329.jpg", "title": "Preview" }, { "duration": 729000, "start_time": 86000, "image": "http://image.pbs.org/video-assets/pbs/nova/67429/images/chapters/a-single-shot_974.jpg", "title": "A Single Shot" }, { "duration": 563000, "start_time": 815000, "image": "http://image.pbs.org/video-assets/pbs/nova/67429/images/chapters/advancing-aerially_698.jpg", "title": "Advancing Aerially" }, { "duration": 755000, "start_time": 1378000, "image": "http://image.pbs.org/video-assets/pbs/nova/67429/images/chapters/in-the-drivers-seat_076.jpg", "title": "In the Driver's Seat" }, { "duration": 651000, "start_time": 2133000, "image": "http://image.pbs.org/video-assets/pbs/nova/67429/images/chapters/flight-or-plight_962.jpg", "title": "Flight or Plight" }, { "duration": 388000, "start_time": 2784000, "image": "http://image.pbs.org/video-assets/pbs/nova/67429/images/chapters/the-future-of-drones_581.jpg", "title": "The Future of Drones" }], "dvd_link": "http://www.shoppbs.org/product/index.jsp?productId=18096616&utm_source=PBS&utm_medium=Link&utm_content=nova_riseofthedrones_covebuyit&utm_campaign=cove_buyit", "itunes_link": "https://itunes.apple.com/us/tv-season/nova-vol.-9/id587380870?uo=4&at=11l3Sf&ct=Nova9COVE", "com_scores": ["030900", "030900"], "duration": 3184, "image_url": "http://image.pbs.org/video-assets/pbs/nova/67429/images/Mezzanine_963.jpg", "airdate": 1358974800, "expiredate": null, "not_yet_available": false, "event_tracking": { "station_events": [""], "national_events": ["UA-6766312-2"], "program_events": ["UA-3988832-2"], "program_station_events": [""] }, "mvod": { "station": { "common_name": "PBS", "plus_url": "", "callsign": "pbs", "image": "http://image.pbs.org/station-images/MVOD/pbs.png" }, "nearby_stations": [], "is_mvod_restricted": false, "is_mvod": false, "is_mvod_user": false } } ```
Author
Owner

@keybounce commented on GitHub (Jul 31, 2015):

Ha. When I play it, there is also a "next video" in the browser, and I can go "next", "next", "next" and see all of the nova episodes I want to watch.

@keybounce commented on GitHub (Jul 31, 2015): Ha. When I play it, there is also a "next video" in the browser, and I can go "next", "next", "next" and see all of the nova episodes I want to watch.
Author
Owner

@remitamine commented on GitHub (Jul 31, 2015):

this what i get when the video finished.
screenshot from 2015-07-31 18-41-47

@remitamine commented on GitHub (Jul 31, 2015): this what i get when the video finished. ![screenshot from 2015-07-31 18-41-47](https://cloud.githubusercontent.com/assets/10879694/9013580/bb6690d4-37b4-11e5-88f7-445cacaf8e58.png)
Author
Owner

@keybounce commented on GitHub (Jul 31, 2015):

Aha!

When I was not logged in, I saw one video.
When I was logged in, I saw a playlist that went to the next video.

That might be a hard one to support :-).

screen shot 2015-07-31 at 12 23 57 pm
@keybounce commented on GitHub (Jul 31, 2015): Aha! When I was not logged in, I saw one video. When I was logged in, I saw a playlist that went to the next video. That might be a hard one to support :-). <img width="1024" alt="screen shot 2015-07-31 at 12 23 57 pm" src="https://cloud.githubusercontent.com/assets/1859143/9015662/41937cac-377f-11e5-8c1c-9b63fabacca2.png">
Author
Owner

@remitamine commented on GitHub (Jul 31, 2015):

i don't have an account so i can't work on it.
may be if some has access can help here.

@remitamine commented on GitHub (Jul 31, 2015): i don't have an account so i can't work on it. may be if some has access can help here.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl-ytdl-org#5118
No description provided.