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

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

Open
keybounce opened this issue Jul 20, 2015 · 5 comments
Open

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

keybounce opened this issue Jul 20, 2015 · 5 comments

Comments

@keybounce
Copy link

@keybounce keybounce commented Jul 20, 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 :-)

@jaimeMF jaimeMF changed the title Attempting to download a playlist is only giving me one video [pbs] Attempting to download a playlist is only giving me one video Jul 20, 2015
@remitamine
Copy link
Collaborator

@remitamine remitamine commented 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
    }
}
@keybounce
Copy link
Author

@keybounce keybounce commented 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.

@remitamine
Copy link
Collaborator

@remitamine remitamine commented Jul 31, 2015

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

@keybounce
Copy link
Author

@keybounce keybounce commented 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

@remitamine
Copy link
Collaborator

@remitamine remitamine commented 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 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.