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
144 stars 27 forks source link

ITV Programs Failing #371

Closed AtomicLaser closed 2 years ago

AtomicLaser commented 2 years ago

What steps will reproduce the problem? Be specific, and provide as much detail as possible. Download any ITV Program (I'm using Emmerdale, Coronation Street, Ant & Dec Limitless etc)

What is the expected output? What do you see instead? Program downloads

What version of GiA are you using? On what version of OS X? GiA v1.21.12 | macOS 12.0.1

Are you using a web proxy? DNS proxy? VPN? VPS? No

What program are you attempting to download (full title, series and episode)? Provide only ONE program as an example. Emmerdale, Coronation Street, Ant & Dec Limitless etc

Please provide any additional information below. BBC programs download fine, no useable information in logs that I can see.

montereyman commented 2 years ago

Hi- Having exactly the same issues as AtomicLaser. ITV programs will not download....BBC all ok to download. No proxy or VPN on. Running lastest version and macOS12.1

SOLOSAIR commented 2 years ago

agreed. my comments made in issue #363

Mac-Man-APH commented 2 years ago

Also same problem for me, see my comments in issue (https://github.com/Ascoware/get-iplayer-automator/issues/363)

Mac-Man-APH commented 2 years ago

So I tried again this morning and both ITV and ITV Hub episodes as those that failed previously now all downloaded successfully. I had made no changes to software or settings on my laptop. Can others please try and confirm that the problem seems to be cured.

brgphil commented 2 years ago

I'm finding it's hit and miss - some programs download with no issues, others fail once then download correctly, some fail a few times then eventually download.

Lordsnooty05 commented 2 years ago

Yes, I am the same as brgphil I was trying to download the series 3 of The Bay and a couple of episodes downloaded and a couple didn’t but when I used Downie those episodes that failed all downloaded using Downie

AtomicLaser commented 2 years ago

I too am finding it a bit hit and miss at the moment, out of 17 in my queue (so far) only one has downloaded successfully.

And I started the queue 3 hours ago!!

AtomicLaser commented 2 years ago

I seem to have some success by doing the below which was referenced in another thread:

sudo mkdir -p  ~/.config/youtube-dl
echo '--user-agent "Mozilla/5.0"' | sudo tee -a ~/.config/youtube-dl/config

The first command will create the youtube-dl directory if it does not already exist, and the second will append the user agent option to the config file (creating the file if it doesn't exist).

Originally posted by @gadgetchnnel in https://github.com/Ascoware/get-iplayer-automator/issues/370#issuecomment-1019510290

robincm commented 2 years ago

@AtomicLaser Thanks for that - I have picked it up on the other thread and after a couple of false starts now have it successfully downloading.

Mac-Man-APH commented 2 years ago

I seem to have some success by doing the below which was referenced in another thread:

sudo mkdir -p  ~/.config/youtube-dl
echo '--user-agent "Mozilla/5.0"' | sudo tee -a ~/.config/youtube-dl/config

The first command will create the youtube-dl directory if it does not already exist, and the second will append the user agent option to the config file (creating the file if it doesn't exist).

Originally posted by @gadgetchnnel in #370 (comment)

AtomicLaser thank you so much for that as it CURED the problem here! Hopefully another user will try this and let us know of their findings.

jeanpaulz85 commented 2 years ago

Did not work for me

On Jan 24, 2022, at 14:14, Mac-Man-APH @.***> wrote:

I seem to have some success by doing the below which was referenced in another thread:

sudo mkdir -p ~/.config/youtube-dl echo '--user-agent "Mozilla/5.0"' | sudo tee -a ~/.config/youtube-dl/config The first command will create the youtube-dl directory if it does not already exist, and the second will append the user agent option to the config file (creating the file if it doesn't exist).

Originally posted by @gadgetchnnel https://github.com/gadgetchnnel in #370 (comment) https://github.com/Ascoware/get-iplayer-automator/issues/370#issuecomment-1019510290 AtomicLaser thank you so much for that as it CURED the problem here! Hopefully another user will try this and let us know of their findings.

— Reply to this email directly, view it on GitHub https://github.com/Ascoware/get-iplayer-automator/issues/371#issuecomment-1020087887, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGWP7ITOHPFSJMHI4HRCMLTUXVGDPANCNFSM5MTHESOA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you are subscribed to this thread.

WilliamOfGaunt commented 2 years ago

Magic – it worked for me too! My thanks to the original poster. (GiA 1.21.12, MacOS 12.1)

B.

From: Mac-Man-APH Sent: Monday, January 24, 2022 1:14 PM To: Ascoware/get-iplayer-automator Cc: Subscribed Subject: Re: [Ascoware/get-iplayer-automator] ITV Programs Failing (Issue #371)

I seem to have some success by doing the below which was referenced in another thread:

sudo mkdir -p ~/.config/youtube-dl echo '--user-agent "Mozilla/5.0"' | sudo tee -a ~/.config/youtube-dl/config The first command will create the youtube-dl directory if it does not already exist, and the second will append the user agent option to the config file (creating the file if it doesn't exist).

Originally posted by @gadgetchnnel in #370 (comment)

AtomicLaser thank you so much for that as it CURED the problem here! Hopefully another user will try this and let us know of their findings.

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you are subscribed to this thread.Message ID: @.***>

montereyman commented 2 years ago

Great job...ITV now all ok for downloads.

Thanks to AtomicLaser & Gadgetchnnel

SOLOSAIR commented 2 years ago

Compared to you guys I'm a complete novice and followed you here from the GiA main webpage a few years ago. I really don't want to use terminal, so will there be a GiA update that fixes this problem please? Still no ITV downloads here. 😟

Lordsnooty05 commented 2 years ago

Solosair Im a bit like you in that I don’t want to mess about with Terminal but if you use a Mac look up an app called “Downie “ as it will download all the ITV programs for you until someone like Scott fixes this…..he usually gets a solution to fix it……this would just tie you over until it’s fixed

naq59 commented 2 years ago

This trick also worked for me having had a number of issues since last week even being able to access the site, let alone download. I finally had to switch my User agent on Safari to IOS iPhone(!) to get it working. I can also confirm Downie working regardless. I can understand not wanting to do Terminal commands if you're not familiar with it but it´s maybe not quite so daunting as you might think. Just make sure you copy and paste exactly, watching out for empty spaces before commands. Thanks for the help.

skovatch commented 2 years ago

I can push out an update that sets the User-Agent on ITV downloads. Why that should matter is not clear to me right now, but it also can't hurt anything by setting it.

Depending on how busy my afternoon is you should see something in a day or two.

SOLOSAIR commented 2 years ago

many, many thanks for the update... you have no idea how happy this has made me! 😃🎉

skovatch commented 2 years ago

Fixed in 1.21.13

jeanpaulz85 commented 2 years ago

Hello

I downloaded Version 1.21.13 to 2 different laptop with 2 different MacOS and I got the same result here is the log I got.

do you think you could help why I am not able to download Trigger Point from ITV?

Thank you

Get iPlayer Automator 1.21.13 Initialized.

INFO: Loading proxy settings... INFO: No proxy to load INFO: Proxy load complete. INFO: No proxy will be used GetITVShows: ITV Cache Update Starting <AppController: 0x7fa6b3f139d0>: Updating Programme Index Feeds...

/Applications/Get iPlayer Automator.app/Contents/Resources/get_iplayer/perl/bin/get_iplayer -e14400 --type=tv --refresh --nopurge --profile-dir=/Users/jeanpaulz85/Library/Application Support/Get iPlayer Automator .* INFO: Indexing tv programmes (concurrent) GetITVShows (Info): Episodes: 5255 Today Programmes: 505 GetITVShows: Update Finished INFO: Added 1 tv programmes to cache INFO: 7101 matching programmes <AppController: 0x7fa6b3f139d0>: Index Updated.

INFO: Loading proxy settings... INFO: No proxy to load INFO: Proxy load complete. INFO: No proxy will be used AppController: Starting Downloads

Downloading Show 1/1:

Downloading Trigger Point: Series 1 INFO: Preparing Request for Auth Info INFO: Requesting Metadata. DEBUG: Metadata response status code: 200 INFO: Metadata processed. DEBUG: youtube-dl args:["https://www.itv.com/hub/trigger-point/10a0591a0001", "--user-agent", "Mozilla/5.0", "-f", "mp4/best", "-o", "/Users/jeanpaulz85/Movies/TV Shows/Trigger Point/Trigger Point.s01e01.Episode 1.%(ext)s", "--write-sub", "-k", "--verbose"] DEBUG: youtube-dl environment: ["PYTHONPATH": "/Applications/Get iPlayer Automator.app/Contents/Resources", "PATH": "/Applications/Get iPlayer Automator.app/Contents/MacOS:/Applications/Get iPlayer Automator.app/Contents/Resources/get_iplayer/utils/bin:/usr/bin"] [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: [u'https://www.itv.com/hub/trigger-point/10a0591a0001', u'--user-agent', u'Mozilla/5.0', u'-f', u'mp4/best', u'-o', u'/Users/jeanpaulz85/Movies/TV Shows/Trigger Point/Trigger Point.s01e01.Episode 1.%(ext)s', u'--write-sub', u'-k', u'--verbose'] [debug] Encodings: locale US-ASCII, fs utf-8, out None, pref US-ASCII [debug] youtube-dl version 2021.04.26-gia_01 [debug] Python version 2.7.10 (CPython) - Darwin-17.7.0-x86_64-i386-64bit [debug] exe versions: ffmpeg 4.3.2-tessus [debug] Proxy map: {} [debug] Using fake IP 25.120.223.83 (GB) as X-Forwarded-For. [ITV] 10a0591a0001: Downloading webpage

Jean-Paul Zerbib @.***