Vangelis forthnet
2018-08-06 23:27:49 UTC
Hello all :-)
Being physically located many thousands of kilometers away
from Scotland, I am in no position to check this myself,
but an internet search has shown that
(regional) BBC Radio Scotland
comes in five schedule variations:
BBC Radio Orkney
BBC Radio Shetland
BBC Radio Highlands and Islands
BBC Radio Scotland FM
BBC Radio Scotland MW
When GiP refreshes the radio cache and Regional Stations
have not been excluded [--refresh-exclude-groups-radio=regional],
all 5 schedule variations for BBC Radio Scotland are being web-scraped.
It may well look as though, from Aug 1st 2018, the
BBC Radio Highlands and Islands variation HAS BEEN
DISCONTINUED!
For populating the caches, I am currently on a heavily modded
older version of GiP (3.01+personal patches); when I refreshed
the radio cache manually, I noticed the following:
WARNING: Failed to download schedule page:
http://www.bbc.co.uk/radioscotland/programmes/schedules/highlandsandislands/this_week
That URL redirects in a browser to
https://www.bbc.co.uk/schedules/p00fzl8f/2018/w32
was implemented already in GiP 3.14:
https://github.com/get-iplayer/get_iplayer/commit/aa8fd57
Recent versions of GiP have become very silent in their
output, perhaps you don't get any warning with 3.16 when
you manually refresh the radio cache and no schedule is
returned for BBC Radio Highlands and Islands currently.
Running
get_iplayer --type=radio --fields=channel "BBC Radio Scotland"
I get "354 Matching Programmes", but it's hard to tell how many
of them are unique to the H & I variation; if you're on latest GiP
(3.16) and want to prevent it from trying to scrape a non-existent
schedule page (for BBC Radio Scotland, H & I variation),
you can comment out (#) line 7303 of the vanilla 3.16 script:
'p00fzl8f' => 'BBC Radio Scotland', #
radioscotland/programmes/schedules/highlandsandislands
I am certain a future release of GiP will
take care of this in a proper fashion...
Best regards,
Vangelis
Being physically located many thousands of kilometers away
from Scotland, I am in no position to check this myself,
but an internet search has shown that
(regional) BBC Radio Scotland
comes in five schedule variations:
BBC Radio Orkney
BBC Radio Shetland
BBC Radio Highlands and Islands
BBC Radio Scotland FM
BBC Radio Scotland MW
When GiP refreshes the radio cache and Regional Stations
have not been excluded [--refresh-exclude-groups-radio=regional],
all 5 schedule variations for BBC Radio Scotland are being web-scraped.
It may well look as though, from Aug 1st 2018, the
BBC Radio Highlands and Islands variation HAS BEEN
DISCONTINUED!
For populating the caches, I am currently on a heavily modded
older version of GiP (3.01+personal patches); when I refreshed
the radio cache manually, I noticed the following:
WARNING: Failed to download schedule page:
http://www.bbc.co.uk/radioscotland/programmes/schedules/highlandsandislands/this_week
That URL redirects in a browser to
https://www.bbc.co.uk/schedules/p00fzl8f/2018/w32
Highlands and Islands Schedule
Broadcast schedule ended on Tuesday 31 July 2018
The redirection to PID-based schedule page URLsBroadcast schedule ended on Tuesday 31 July 2018
was implemented already in GiP 3.14:
https://github.com/get-iplayer/get_iplayer/commit/aa8fd57
Recent versions of GiP have become very silent in their
output, perhaps you don't get any warning with 3.16 when
you manually refresh the radio cache and no schedule is
returned for BBC Radio Highlands and Islands currently.
Running
get_iplayer --type=radio --fields=channel "BBC Radio Scotland"
I get "354 Matching Programmes", but it's hard to tell how many
of them are unique to the H & I variation; if you're on latest GiP
(3.16) and want to prevent it from trying to scrape a non-existent
schedule page (for BBC Radio Scotland, H & I variation),
you can comment out (#) line 7303 of the vanilla 3.16 script:
'p00fzl8f' => 'BBC Radio Scotland', #
radioscotland/programmes/schedules/highlandsandislands
I am certain a future release of GiP will
take care of this in a proper fashion...
Best regards,
Vangelis