Ascoware / get-iplayer-automator

The goal of Get iPlayer Automator is to allow iTunes and your Mac to become the hub for your British Television experience regardless of where in the world you are. Currently, Get iPlayer Automator allows you to download and watch BBC and ITV shows on your Mac. Series-Link/PVR functionality ensures you will never miss your favourite shows. Programmes are fully tagged and added to iTunes automatically upon completion. It is simple and easy to use, and runs on any machine running Mac OS X 10.7 or later. And since the shows are in iTunes, it is extremely easy to transfer them to your iPod, iPhone, or Apple TV allowing you to enjoy your shows on the go or on your television.
GNU General Public License v3.0
146 stars 26 forks source link

podcast2 type download? #246

Closed purplealert closed 4 years ago

purplealert commented 5 years ago

Attempting to download the following programme from the BBC, 13 Minutes to the Moon - Ep.01 ‘We choose to go’:

https://www.bbc.co.uk/programmes/w3csz4dj

The programme is properly added to the download queue but starting the download results in failure with an unknown error.

Reviewing the log the type of the available versions appears to be 'podcast2'. Is it possible to support this version?

The log of the failed download follows:

Downloading Show 1/1:

BBC Download (ID=w3csz4dj): Downloading 13 Minutes to the Moon - Ep.01 ‘We choose to go’
/Applications/Video DVD Audio Tools/Get iPlayer Automator.app/Contents/Resources/get_iplayer
--profile-dir=/Users/mark/Library/Application Support/Get iPlayer Automator
--nocopyright
--nopurge
--atomicparsley=/Applications/Video DVD Audio Tools/Get iPlayer Automator.app/Contents/MacOS/AtomicParsley
-e604800000000
--output=/Volumes/Extra/Movies
--subdir
--logprogress
--modes=radiobest,radiobetter,tvbest,tvbetter
--pid
w3csz4dj
--whitespace
--attempts=5
--thumbsize=640
--ffmpeg=/Applications/Video DVD Audio Tools/Get iPlayer Automator.app/Contents/MacOS/ffmpeg
--log-progress
--verbose
--subtitles
--file-prefix=<name> - <episode> ((<modeshort>))
INFO: Start: 2019-05-20T10:16:32 (1558343792)
INFO: encodinglocale = UTF-8
INFO: encodinglocalefs = UTF-8
INFO: encodingconsoleout = UTF-8
INFO: encodingconsolein = UTF-8
INFO: ${^UNICODE} = 39
INFO: Profile dir: /Users/mark/Library/Application Support/Get iPlayer Automator
INFO: User options file: /Users/mark/Library/Application Support/Get iPlayer Automator/options
INFO: System options file: /etc/get_iplayer/options
INFO: Search args: ''
INFO: Cleaning PID - old: 'w3csz4dj' new: 'w3csz4dj'
INFO: Downloading URL (1/3): https://www.bbc.co.uk/programmes/w3csz4dj.json
INFO: radio episode PID detected (w3csz4dj)
INFO: 1 total programmes
INFO: Loaded history for first check.
INFO: Loading recordings history
INFO: Programme not in history
INFO: Downloading URL (1/3): https://www.bbc.co.uk/programmes/w3csz4dj.json
INFO: Getting stream data for version: 'original'
INFO: Downloading URL (1/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/iptv-all/vpid/w4hqtn7d?cb=14490
WARNING: Failed to download URL (1/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/iptv-all/vpid/w4hqtn7d?cb=14490
WARNING: Response: 404 Not Found
INFO: Downloading URL (2/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/iptv-all/vpid/w4hqtn7d?cb=14490
WARNING: Failed to download URL (2/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/iptv-all/vpid/w4hqtn7d?cb=14490
WARNING: Response: 404 Not Found
INFO: Downloading URL (3/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/iptv-all/vpid/w4hqtn7d?cb=14490
ERROR: Failed to download URL (3/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/iptv-all/vpid/w4hqtn7d?cb=14490
ERROR: Response: 404 Not Found
ERROR: Ignore this error if programme download is successful
INFO: Downloading URL (1/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/pc/vpid/w4hqtn7d?cb=33616
WARNING: Failed to download URL (1/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/pc/vpid/w4hqtn7d?cb=33616
WARNING: Response: 404 Not Found
INFO: Downloading URL (2/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/pc/vpid/w4hqtn7d?cb=33616
WARNING: Failed to download URL (2/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/pc/vpid/w4hqtn7d?cb=33616
WARNING: Response: 404 Not Found
INFO: Downloading URL (3/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/pc/vpid/w4hqtn7d?cb=33616
ERROR: Failed to download URL (3/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/pc/vpid/w4hqtn7d?cb=33616
ERROR: Response: 404 Not Found
ERROR: Ignore this error if programme download is successful
INFO: Downloading URL (1/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-ipad-hls/vpid/w4hqtn7d?cb=52836
WARNING: Failed to download URL (1/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-ipad-hls/vpid/w4hqtn7d?cb=52836
WARNING: Response: 404 Not Found
INFO: Downloading URL (2/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-ipad-hls/vpid/w4hqtn7d?cb=52836
WARNING: Failed to download URL (2/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-ipad-hls/vpid/w4hqtn7d?cb=52836
WARNING: Response: 404 Not Found
INFO: Downloading URL (3/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-ipad-hls/vpid/w4hqtn7d?cb=52836
ERROR: Failed to download URL (3/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-ipad-hls/vpid/w4hqtn7d?cb=52836
ERROR: Response: 404 Not Found
ERROR: Ignore this error if programme download is successful
INFO: Downloading URL (1/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-iphone4-ipad-hls-3g/vpid/w4hqtn7d?cb=71812
WARNING: Failed to download URL (1/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-iphone4-ipad-hls-3g/vpid/w4hqtn7d?cb=71812
WARNING: Response: 404 Not Found
INFO: Downloading URL (2/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-iphone4-ipad-hls-3g/vpid/w4hqtn7d?cb=71812
WARNING: Failed to download URL (2/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-iphone4-ipad-hls-3g/vpid/w4hqtn7d?cb=71812
WARNING: Response: 404 Not Found
INFO: Downloading URL (3/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-iphone4-ipad-hls-3g/vpid/w4hqtn7d?cb=71812
ERROR: Failed to download URL (3/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-iphone4-ipad-hls-3g/vpid/w4hqtn7d?cb=71812
ERROR: Response: 404 Not Found
ERROR: Ignore this error if programme download is successful
INFO: No streams available for 'original' version (w4hqtn7d) - skipping
INFO: Getting stream data for version: 'podcast'
INFO: Downloading URL (1/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/iptv-all/vpid/p078vn9w?cb=48482
WARNING: Failed to download URL (1/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/iptv-all/vpid/p078vn9w?cb=48482
WARNING: Response: 404 Not Found
INFO: Downloading URL (2/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/iptv-all/vpid/p078vn9w?cb=48482
WARNING: Failed to download URL (2/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/iptv-all/vpid/p078vn9w?cb=48482
WARNING: Response: 404 Not Found
INFO: Downloading URL (3/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/iptv-all/vpid/p078vn9w?cb=48482
ERROR: Failed to download URL (3/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/iptv-all/vpid/p078vn9w?cb=48482
ERROR: Response: 404 Not Found
ERROR: Ignore this error if programme download is successful
INFO: Downloading URL (1/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/pc/vpid/p078vn9w?cb=51610
WARNING: Failed to download URL (1/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/pc/vpid/p078vn9w?cb=51610
WARNING: Response: 404 Not Found
INFO: Downloading URL (2/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/pc/vpid/p078vn9w?cb=51610
WARNING: Failed to download URL (2/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/pc/vpid/p078vn9w?cb=51610
WARNING: Response: 404 Not Found
INFO: Downloading URL (3/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/pc/vpid/p078vn9w?cb=51610
ERROR: Failed to download URL (3/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/pc/vpid/p078vn9w?cb=51610
ERROR: Response: 404 Not Found
ERROR: Ignore this error if programme download is successful
INFO: Downloading URL (1/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-ipad-hls/vpid/p078vn9w?cb=88653
WARNING: Failed to download URL (1/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-ipad-hls/vpid/p078vn9w?cb=88653
WARNING: Response: 404 Not Found
INFO: Downloading URL (2/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-ipad-hls/vpid/p078vn9w?cb=88653
WARNING: Failed to download URL (2/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-ipad-hls/vpid/p078vn9w?cb=88653
WARNING: Response: 404 Not Found
INFO: Downloading URL (3/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-ipad-hls/vpid/p078vn9w?cb=88653
ERROR: Failed to download URL (3/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-ipad-hls/vpid/p078vn9w?cb=88653
ERROR: Response: 404 Not Found
ERROR: Ignore this error if programme download is successful
INFO: Downloading URL (1/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-iphone4-ipad-hls-3g/vpid/p078vn9w?cb=65893
WARNING: Failed to download URL (1/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-iphone4-ipad-hls-3g/vpid/p078vn9w?cb=65893
WARNING: Response: 404 Not Found
INFO: Downloading URL (2/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-iphone4-ipad-hls-3g/vpid/p078vn9w?cb=65893
WARNING: Failed to download URL (2/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-iphone4-ipad-hls-3g/vpid/p078vn9w?cb=65893
WARNING: Response: 404 Not Found
INFO: Downloading URL (3/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-iphone4-ipad-hls-3g/vpid/p078vn9w?cb=65893
ERROR: Failed to download URL (3/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-iphone4-ipad-hls-3g/vpid/p078vn9w?cb=65893
ERROR: Response: 404 Not Found
ERROR: Ignore this error if programme download is successful
INFO: No streams available for 'podcast' version (p078vn9w) - skipping
INFO: Getting stream data for version: 'podcast2'
INFO: Downloading URL (1/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/iptv-all/vpid/p07953hz?cb=68266
INFO: Downloading URL (1/3): https://cp143012-i.akamaihd.net/i/prod_af_mp4_aaclc_128/iplayerstream/bUnknown-481dea69-0e2b-4ecc-ab43-faff97cb8b83_p07953hz_cUnknown_1557832249184.mp4/master.m3u8?hdnea=st=1558343796~exp=1558365396~acl=/*bUnknown-481dea69-0e2b-4ecc-ab43-faff97cb8b83_p07953hz_cUnknown_1557832249184.mp4*~hmac=958c2978f35e6d6ad602d9c1c2e0f3007974d02e82d192858f99f3e22a3277d8
INFO: Downloading URL (1/3): https://aod-dash-uk-live.akamaized.net/usp/auth/vod/piff_abr_full_audio/f9d694-p07953hz/vf_p07953hz_0648bb43-5f4f-4496-8753-7919a2bed76f.ism.hlsv2.ism/iptv_hd_abr_v1_uk_dash_master.mpd?__gda__=1558365396_227720548212fb7fd7632991fc931530
INFO: Downloading URL (1/3): https://aod-hls-uk-live.akamaized.net/usp/auth/vod/piff_abr_full_audio/f9d694-p07953hz/vf_p07953hz_0648bb43-5f4f-4496-8753-7919a2bed76f.ism.hlsv2.ism/vf_p07953hz_0648bb43-5f4f-4496-8753-7919a2bed76f.ism.hlsv2.m3u8?__gda__=1558365396_88b1bc2859219641a74379739b20ea25
INFO: Downloading URL (1/3): https://aod-dash-uk-live.bbcfmt.hs.llnwd.net/usp/auth/vod/piff_abr_full_audio/f9d694-p07953hz/vf_p07953hz_0648bb43-5f4f-4496-8753-7919a2bed76f.ism.hlsv2.ism/iptv_hd_abr_v1_uk_dash_master.mpd?s=1558322196&e=1558365396&h=138fa41d3beca36ff3b26bee8f4d4df2
INFO: Downloading URL (1/3): https://aod-hls-uk-live.bbcfmt.hs.llnwd.net/usp/auth/vod/piff_abr_full_audio/f9d694-p07953hz/vf_p07953hz_0648bb43-5f4f-4496-8753-7919a2bed76f.ism.hlsv2.ism/vf_p07953hz_0648bb43-5f4f-4496-8753-7919a2bed76f.ism.hlsv2.m3u8?s=1558322196&e=1558365396&h=1b31be5d2cb62661eef170ef8b366c55
INFO: Downloading URL (1/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/pc/vpid/p07953hz?cb=44112
INFO: Downloading URL (1/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-ipad-hls/vpid/p07953hz?cb=68536
INFO: Downloading URL (1/3): https://open.live.bbc.co.uk/mediaselector/5/select/version/2.0/mediaset/apple-iphone4-ipad-hls-3g/vpid/p07953hz?cb=17934
INFO: Downloading URL (1/3): http://cp401492-vh.akamaihd.net/i/prod_af_mp4_heaacv1_48/iplayerstream/bUnknown-481dea69-0e2b-4ecc-ab43-faff97cb8b83_p07953hz_cUnknown_1557832223839.mp4/master.m3u8?hdnea=st=1558343797~exp=1558365397~acl=/*bUnknown-481dea69-0e2b-4ecc-ab43-faff97cb8b83_p07953hz_cUnknown_1557832223839.mp4*~hmac=1787731a9a26ec6f302f4d49ecdb6e359924b61cd429a915e57d1ec124306b85
INFO: Found mode   hafhigh1:  gip_haf_340  hls  aac       N/A   N/A      N/A 340kbps af_limelight_uk_hls_https/20
INFO: Found mode   hafhigh2:  gip_haf_340  hls  aac       N/A   N/A      N/A 340kbps af_akamai_uk_hls_https/10
INFO: Found mode   dafhigh1:  gip_daf_320 dash  aac       N/A   N/A      N/A 320kbps af_limelight_uk_dash_https/20
INFO: Found mode   dafhigh2:  gip_daf_320 dash  aac       N/A   N/A      N/A 320kbps af_akamai_uk_dash_https/10
INFO: Found mode    hafstd1:  gip_haf_136  hls  aac       N/A   N/A      N/A 136kbps af_limelight_uk_hls_https/20
INFO: Found mode    hafstd2:  gip_haf_136  hls  aac       N/A   N/A      N/A 136kbps af_akamai_uk_hls_https/10
INFO: Found mode    hlastd1:  gip_hla_128  hls  aac       N/A   N/A      N/A 128kbps akamai_hls_open_https/100
INFO: Found mode    dafstd1:  gip_daf_128 dash  aac       N/A   N/A      N/A 128kbps af_limelight_uk_dash_https/20
INFO: Found mode    dafstd2:  gip_daf_128 dash  aac       N/A   N/A      N/A 128kbps af_akamai_uk_dash_https/10
INFO: Found mode    hafmed1:  gip_haf_102  hls  aac       N/A   N/A      N/A 102kbps af_limelight_uk_hls_https/20
INFO: Found mode    hafmed2:  gip_haf_102  hls  aac       N/A   N/A      N/A 102kbps af_akamai_uk_hls_https/10
INFO: Found mode    dafmed1:   gip_daf_96 dash  aac       N/A   N/A      N/A  96kbps af_limelight_uk_dash_https/20
INFO: Found mode    dafmed2:   gip_daf_96 dash  aac       N/A   N/A      N/A  96kbps af_akamai_uk_dash_https/10
INFO: Found mode    haflow1:   gip_haf_51  hls  aac       N/A   N/A      N/A  51kbps af_limelight_uk_hls_https/20
INFO: Found mode    haflow2:   gip_haf_51  hls  aac       N/A   N/A      N/A  51kbps af_akamai_uk_hls_https/10
INFO: Found mode    hlalow1:   gip_hla_48  hls  aac       N/A   N/A      N/A  48kbps akamai_hls_open/10
INFO: Found mode    daflow1:   gip_daf_48 dash  aac       N/A   N/A      N/A  48kbps af_limelight_uk_dash_https/20
INFO: Found mode    daflow2:   gip_daf_48 dash  aac       N/A   N/A      N/A  48kbps af_akamai_uk_dash_https/10
INFO: No media streams found for 'original' version (w4hqtn7d) - deleting
INFO: No media streams found for 'podcast' version (p078vn9w) - deleting
INFO: Programme not in history
INFO: No versions of this programme were selected (available versions: podcast2)
BBC Download (ID=w3csz4dj): 13 Minutes to the Moon - Ep.01 ‘We choose to go’ Failed
AppController: Downloads Finished
skovatch commented 4 years ago

Addressed in some version of get_iplayer (I just verified with 1.17)