qtube error downloading from iPlayer

Has anyone downloaded this programme successfully? I can't test it because I simply don't have the bandwidth.
Yes, but using version 2021.12.17b.

youtube-dl.conf and no other parameters used:
Code:
--restrict-filenames 
--prefer-ffmpeg 
--user-agent 'Mozilla/5.0'
--no-progress
-f "best[height<=?1080][fps<=?60]"
-o "/mnt/hd2/My Video/%(title)s.%(ext)s"

Code:
07/08/2022 12:23:01 - Starting queued download URL https://www.bbc.co.uk/iplayer/episode/p0cgqlv1/big-oil-v-the-world-series-1-1-denial Options  QID 1730
07/08/2022 12:23:27 - [bbc.co.uk] p0cgqlv1: Downloading video page
07/08/2022 12:23:28 - [bbc.co.uk] p0cgqlv1: Downloading playlist JSON
07/08/2022 12:23:29 - [bbc.co.uk] p0cgqmd2: Downloading media selection JSON
07/08/2022 12:23:29 - [bbc.co.uk] p0cgqmd2: Downloading m3u8 information
07/08/2022 12:23:29 - [bbc.co.uk] p0cgqmd2: Downloading m3u8 information
07/08/2022 12:23:30 - [bbc.co.uk] p0cgqmd2: Downloading m3u8 information
07/08/2022 12:23:30 - [bbc.co.uk] p0cgqmd2: Downloading m3u8 information
07/08/2022 12:23:30 - [bbc.co.uk] p0cgqmd2: Downloading m3u8 information
07/08/2022 12:23:30 - [bbc.co.uk] p0cgqmd2: Downloading m3u8 information
07/08/2022 12:23:31 - [bbc.co.uk] p0cgqmd2: Downloading MPD manifest
07/08/2022 12:23:32 - [bbc.co.uk] p0cgqmd2: Downloading MPD manifest
07/08/2022 12:23:33 - [bbc.co.uk] p0cgqmd2: Downloading MPD manifest
07/08/2022 12:23:34 - [bbc.co.uk] p0cgqmd2: Downloading MPD manifest
07/08/2022 12:23:35 - [bbc.co.uk] p0cgqmd2: Downloading MPD manifest
07/08/2022 12:23:36 - [bbc.co.uk] p0cgqmd2: Downloading MPD manifest
07/08/2022 12:23:54 - [hlsnative] Downloading m3u8 manifest
07/08/2022 12:23:54 - [hlsnative] Total fragments: 465
07/08/2022 12:23:54 - [download] Destination: /mnt/hd2/My Video/Big_Oil_v_the_World_Series_1_Denial.mp4
07/08/2022 12:45:04 - [download] Download completed
07/08/2022 12:45:07 - [ffmpeg] Fixing malformed AAC bitstream in "/mnt/hd2/My Video/Big_Oil_v_the_World_Series_1_Denial.mp4"
07/08/2022 12:54:17 - Completed queued download of https://www.bbc.co.uk/iplayer/episode/p0cgqlv1/big-oil-v-the-world-series-1-1-denial Options
 
What's the easiest way to edit youtube-dl.conf?
I just tried editing /etc/youtube-dl.conf using vi but the filesystem was readonly so I couldn't save my changes
 
Hmmm...I just tried it using your config options (as posted above), but got this:

Code:
[debug] System config: [u'--restrict-filenames', u'--prefer-ffmpeg', u'--user-agent', u'Mozilla/5.0', u'--no-progress', u'-f', u'best[height<=?1080][fps<=?60]', u'-o', u'/mnt/hd2
/My Video/%(title)s.%(ext)s']                                                                                                                                                     
[debug] User config: []                                                                                                                                                           
[debug] Custom config: []                                                                                                                                                         
[debug] Command-line args: [u'-v', u'-F', u'https://www.bbc.co.uk/iplayer/episode/p0cgqlv1/big-oil-\n\nv-the-world-series-1-1-denial']                                           
[debug] Encodings: locale ASCII, fs ASCII, out ASCII, pref ASCII                                                                                                                 
[debug] youtube-dl version 2021.12.17                                                                                                                                             
[debug] Python version 2.7.1 (CPython) - Linux-2.6.18-7.1-7405b0-smp-with-libc0                                                                                                   
[debug] exe versions: ffmpeg 4.1, ffprobe 4.1                                                                                                                                     
[debug] Proxy map: {}                                                                                                                                                             
[bbc.co.uk] p0cgqlv1: Downloading video page                                                                                                                                     
ERROR: Unable to download webpage: <urlopen error no host given> (caused by URLError('no host given',))
  File "/mod/lib/python2.7/dist-packages/youtube-dl/youtube_dl/extractor/common.py", line 634, in _request_webpage                                                               
    return self._downloader.urlopen(url_or_request)                                                                                                                               
  File "/mod/lib/python2.7/dist-packages/youtube-dl/youtube_dl/YoutubeDL.py", line 2288, in urlopen                                                                               
    return self._opener.open(req, timeout=self._socket_timeout)                                                                                                                   
  File "/mod/lib/python2.7/urllib2.py", line 390, in open                                                                                                                         
    req = meth(req)                                                                                                                                                               
  File "/mod/lib/python2.7/urllib2.py", line 1087, in do_request_                                                                                                                 
    raise URLError('no host given')
 
Did you still have the config file open for edit?

Also it dosn't look as though you have executed the comemnd the same as I do. I did not put anything additional in the "Process options" field. I left the "Process options" field blank.
 
Did you still have the config file open for edit?

Also it dosn't look as though you have executed the comemnd the same as I do. I did not put anything additional in the "Process options" field. I left the "Process options" field blank.
I did close the config file before re-running the job, and I left the 'Process options' field empty
 
Is this a 15-minute argument?
Hi /df.
Not an argument at all. Just that I don't see where the "-F" comes from in post #25 that I mistook for a parameter entered on the screen.

"[debug] Command-line args: [u'-v', u'-F', u'https://www.bbc.co.uk/iplayer/episode/p0cgqlv1/big-oil-\n\nv-the-world-series-1-1-denial'] '"

Also I could reproduce the post #25 error message by keeping the config file open, bit I am aware just because it can be reproduced one was does not mean that was the cause.
 
Hmmm...I just tried it using your config options (as posted above), but got this:

The log shows the URL being passed in yet by the second line of the extractor
Code:
        webpage = self._download_webpage(url, group_id, 'Downloading video page')
when that call has passed the URL into the urllib2 library the associated request object has no host.

This is presumably because there are unwanted \n(newline) characters in the URL as the same error is shown in a command-line run of the command if you get the quoting of the newlines right.
 
Last edited:
-F aka --list-formats means "list the formats available but don't pick one and download it". Easiest to use at the command line.
Yes, which is why I noticed it.
Ian Manning was attempting to download the file not list the choices for download. Also Ian Manning has stated that he did not add any extra parameters and therefore where has the "-F" come from?
 
Waffle waffle banter waffle.
The reason why you are now getting that odd error in python is because you are using an incorrect URL.

youtube-dl.conf and no other parameters used:
Code:
--restrict-filenames
--prefer-ffmpeg
--user-agent 'Mozilla/5.0'
--no-progress
-f "best[height<=?1080][fps<=?60]"
-o "/mnt/hd2/My Video/%(title)s.%(ext)s"

Code:
07/08/2022 12:23:01 - Starting queued download URL https://www.bbc.co.uk/iplayer/episode/p0cgqlv1/big-oil-v-the-world-series-1-1-denial Options  QID 1730
.....
07/08/2022 12:54:17 - Completed queued download of https://www.bbc.co.uk/iplayer/episode/p0cgqlv1/big-oil-v-the-world-series-1-1-denial Options

And your one has some other characters just after the 'big-oil-' bit.
Hmmm...I just tried it using your config options (as posted above), but got this:

Code:
[debug] System config: [u'--restrict-filenames', u'--prefer-ffmpeg', u'--user-agent', u'Mozilla/5.0', u'--no-progress', u'-f', u'best[height<=?1080][fps<=?60]', u'-o', u'/mnt/hd2
/My Video/%(title)s.%(ext)s']                                                                                                                                            
[debug] User config: []                                                                                                                                                  
[debug] Custom config: []                                                                                                                                                
[debug] Command-line args: [u'-v', u'-F', u'https://www.bbc.co.uk/iplayer/episode/p0cgqlv1/big-oil-\n\nv-the-world-series-1-1-denial']                                  
[debug] Encodings: locale ASCII, fs ASCII, out ASCII, pref ASCII                                                                                                        
[debug] youtube-dl version 2021.12.17                                                                                                                                    
[debug] Python version 2.7.1 (CPython) - Linux-2.6.18-7.1-7405b0-smp-with-libc0                                                                                          
[debug] exe versions: ffmpeg 4.1, ffprobe 4.1                                                                                                                            
[debug] Proxy map: {}                                                                                                                                                    
[bbc.co.uk] p0cgqlv1: Downloading video page                                                                                                                            
ERROR: Unable to download webpage: <urlopen error no host given> (caused by URLError('no host given',))
  File "/mod/lib/python2.7/dist-packages/youtube-dl/youtube_dl/extractor/common.py", line 634, in _request_webpage                                                      
    return self._downloader.urlopen(url_or_request)                                                                                                                      
  File "/mod/lib/python2.7/dist-packages/youtube-dl/youtube_dl/YoutubeDL.py", line 2288, in urlopen                                                                      
    return self._opener.open(req, timeout=self._socket_timeout)                                                                                                          
  File "/mod/lib/python2.7/urllib2.py", line 390, in open                                                                                                                
    req = meth(req)                                                                                                                                                      
  File "/mod/lib/python2.7/urllib2.py", line 1087, in do_request_                                                                                                        
    raise URLError('no host given')
Although that doesn't explain your original problem which I assume had the correct URL, however it may be worth uninstalling your youtube-dl and install the latest one with same version number but has 'b' suffix. (When uninstalling, backup or take note your config file /mod/etc/youtube-dl.conf because it may get deleted.)

I can also download that programme using youtube-dl with similar settings as @Luke above (standard ADSL broadband in case it makes a difference).
 
Last edited:
And your one has some other characters just after the 'big-oil-' bit.
I think what's happened there is an intermediate copy&paste operation has been used to "store" the URL in a text editor of some kind, which has unwittingly inserted a line break.

@Ian Manning: your run in post 25 was invalidated by the inclusion of \n (newline) characters embedded in the URL string.
 
Also on my humax it seems to cope with those escape newline characters fine
Code:
youtube-dl -F https://www.bbc.co.uk/iplayer/episode/p0cgqlv1/big-oil-\n\nv-the-world-series-1-1-denial

[debug] System config: [u'--restrict-filenames', u'--prefer-ffmpeg', u'--user-agent', u'Mozilla/5.0', u'-f', u'best[height<=?576][fps<=?60]', u'-v', u'--no-progress', u'-o', u'/mnt/hd2/My Video/40-Imported_Video/%(title)s.%(ext)s']
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-F', u'https://www.bbc.co.uk/iplayer/episode/p0cgqlv1/big-oil-nnv-the-world-series-1-1-denial']
[debug] Encodings: locale ASCII, fs ASCII, out ASCII, pref ASCII
[debug] youtube-dl version 2021.12.17
[debug] Python version 2.7.1 (CPython) - Linux-2.6.18-7.1-7405b0-smp-with-libc0
[debug] exe versions: ffmpeg 4.1, ffprobe 4.1
[debug] Proxy map: {}
[bbc.co.uk] p0cgqlv1: Downloading video page
[bbc.co.uk] p0cgqlv1: Downloading playlist JSON
[bbc.co.uk] p0cgqmd2: Downloading media selection JSON
[bbc.co.uk] p0cgqmd2: Downloading m3u8 information
[bbc.co.uk] p0cgqmd2: Downloading m3u8 information
[bbc.co.uk] p0cgqmd2: Downloading m3u8 information
[bbc.co.uk] p0cgqmd2: Downloading m3u8 information
[bbc.co.uk] p0cgqmd2: Downloading m3u8 information
[bbc.co.uk] p0cgqmd2: Downloading m3u8 information
[bbc.co.uk] p0cgqmd2: Downloading MPD manifest
[bbc.co.uk] p0cgqmd2: Downloading MPD manifest
[bbc.co.uk] p0cgqmd2: Downloading MPD manifest
[bbc.co.uk] p0cgqmd2: Downloading MPD manifest
[bbc.co.uk] p0cgqmd2: Downloading MPD manifest
[bbc.co.uk] p0cgqmd2: Downloading MPD manifest
[info] Available formats for p0cgqmd2:
format code                         extension  resolution note
mf_akamai-audio_eng_1=128000-0      m4a        audio only [en] DASH audio  128k , m4a_dash container, mp4a.40.2 (48000Hz)
mf_akamai-audio_eng_1=128000-1      m4a        audio only [en] DASH audio  128k , m4a_dash container, mp4a.40.2 (48000Hz)
mf_bidi-audio_eng_1=128000-0        m4a        audio only ......

My earlier download used -f "best[height<=?576][fps<=?60]" which produced an output file of 1.22GiB.
I am trying again, but with -f "best[height<=?1080][fps<=?60]" which is currently running and will take a while on my (slow) broadband.
Update:
Both downloads completed fine and playback ok.
The first was 1.22GB, 960x540.
The second 2.16GiB, 1280x720.
 
Last edited:
Are the \n's a red herring then?
It may be I am not sure as I don't get the same python errors as @Ian Manning, eg

Code:
youtube-dl  https://www.bbc.co.uk/iplayer/episode/p0cgqlv1/big-oil-\n\nv-the-world-series-1-1-denial
[debug] System config: [u'--restrict-filenames', u'--prefer-ffmpeg', u'--user-agent', u'Mozilla/5.0', u'-f', u'best[height<=?576][fps<=?60]', u'-v', u'--no-progress', u'-o', u'/mnt/hd2/My Video/40-Imported_Video/%(title)s.%(ext)s']
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'https://www.bbc.co.uk/iplayer/episode/p0cgqlv1/big-oil-nnv-the-world-series-1-1-denial']
[debug] Encodings: locale ASCII, fs ASCII, out ASCII, pref ASCII
[debug] youtube-dl version 2021.12.17
[debug] Python version 2.7.1 (CPython) - Linux-2.6.18-7.1-7405b0-smp-with-libc0
[debug] exe versions: ffmpeg 4.1, ffprobe 4.1
[debug] Proxy map: {}
[bbc.co.uk] p0cgqlv1: Downloading video page
[bbc.co.uk] p0cgqlv1: Downloading playlist JSON
[bbc.co.uk] p0cgqmd2: Downloading media selection JSON
[bbc.co.uk] p0cgqmd2: Downloading m3u8 information
[bbc.co.uk] p0cgqmd2: Downloading m3u8 information
[bbc.co.uk] p0cgqmd2: Downloading m3u8 information
[bbc.co.uk] p0cgqmd2: Downloading m3u8 information
[bbc.co.uk] p0cgqmd2: Downloading m3u8 information
[bbc.co.uk] p0cgqmd2: Downloading m3u8 information
[bbc.co.uk] p0cgqmd2: Downloading MPD manifest
[bbc.co.uk] p0cgqmd2: Downloading MPD manifest
[bbc.co.uk] p0cgqmd2: Downloading MPD manifest
[bbc.co.uk] p0cgqmd2: Downloading MPD manifest
[bbc.co.uk] p0cgqmd2: Downloading MPD manifest
[bbc.co.uk] p0cgqmd2: Downloading MPD manifest
[debug] Invoking downloader on u'https://vod-hls-uk.live.cf.md.bbci.co.uk/usp/auth/vod/piff_abr_full_hd/821cf0-p0cgqmd2/vf_p0cgqmd2_baf9e9c5-ca44-4b34-93ea-5c0ba75d6964.ism.hlsv2.ism/vf_p0cgqmd2_baf9e9c5-ca44-4b34-93ea-5c0ba75d6964.ism.hlsv2-audio_eng_1=128000-video=2812000.m3u8'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 465
[download] Destination: /mnt/hd2/My Video/40-Imported_Video/Big_Oil_v_the_World_Series_1_Denial.mp4

But earlier I did get similar error - but I wasn't fully awake.
Code:
08/08/2022 06:25:02 - ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
08/08/2022 06:25:02 - Starting queued download URL https://www.bbc.co.uk/iplayer/episode/p0cgqlv1/big-oil-\n\nv-the-world-series-1-1-denial Options  QID 1781
08/08/2022 06:25:53 - [bbc.co.uk] p0cgqlv1: Downloading video page
08/08/2022 06:25:57 - Caught error: [debug] System config: [u'--restrict-filenames', u'--prefer-ffmpeg', u'--user-agent', u'Mozilla/5.0', u'-f', u'best[height<=?576][fps<=?60]', u'-v', u'--no-progress', u'-o', u'/mnt/hd2/My Video/40-Imported_Video/%(title)s.%(ext)s']
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--newline', u'https://www.bbc.co.uk/iplayer/episode/p0cgqlv1/big-oil-\n\nv-the-world-series-1-1-denial']
[debug] Encodings: locale ASCII, fs ASCII, out None, pref ASCII
[debug] youtube-dl version 2021.12.17
[debug] Python version 2.7.1 (CPython) - Linux-2.6.18-7.1-7405b0-smp-with-libc0
[debug] exe versions: ffmpeg 4.1, ffprobe 4.1
[debug] Proxy map: {}
ERROR: Unable to download webpage: <urlopen error no host given> (caused by URLError('no host given',))
  File "/mod/lib/python2.7/dist-packages/youtube-dl/youtube_dl/extractor/common.py", line 634, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/mod/lib/python2.7/dist-packages/youtube-dl/youtube_dl/YoutubeDL.py", line 2288, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/mod/lib/python2.7/urllib2.py", line 390, in open
    req = meth(req)
  File "/mod/lib/python2.7/urllib2.py", line 1087, in do_request_
    raise URLError('no host given')

08/08/2022 06:25:57 - -code 1 -level 0 -errorinfo {{} /mod/webif/plugin/qtube/queue.hook 29} -errorcode {CHILDSTATUS 13018 1}
08/08/2022 06:33:03 - ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
08/08/2022 06:33:03 - Starting queued download URL  https://www.bbc.co.uk/iplayer/episode/p0cgqlv1/big-oil-v-the-world-series-1-1-denial Options  QID 1782
08/08/2022 06:33:40 - [bbc.co.uk] p0cgqlv1: Downloading video page
08/08/2022 06:33:42 - [bbc.co.uk] p0cgqlv1: Downloading playlist JSON
08/08/2022 06:33:42 - [bbc.co.uk] p0cgqmd2: Downloading media selection JSON
08/08/2022 06:33:43 - [bbc.co.uk] p0cgqmd2: Downloading m3u8 information
08/08/2022 06:33:43 - [bbc.co.uk] p0cgqmd2: Downloading m3u8 information
08/08/2022 06:33:43 - [bbc.co.uk] p0cgqmd2: Downloading m3u8 information
08/08/2022 06:33:43 - [bbc.co.uk] p0cgqmd2: Downloading m3u8 information
08/08/2022 06:33:44 - [bbc.co.uk] p0cgqmd2: Downloading m3u8 information
08/08/2022 06:33:44 - [bbc.co.uk] p0cgqmd2: Downloading m3u8 information
08/08/2022 06:33:45 - [bbc.co.uk] p0cgqmd2: Downloading MPD manifest
08/08/2022 06:33:46 - [bbc.co.uk] p0cgqmd2: Downloading MPD manifest
08/08/2022 06:33:47 - [bbc.co.uk] p0cgqmd2: Downloading MPD manifest
08/08/2022 06:33:48 - [bbc.co.uk] p0cgqmd2: Downloading MPD manifest
08/08/2022 06:33:49 - [bbc.co.uk] p0cgqmd2: Downloading MPD manifest
08/08/2022 06:33:50 - [bbc.co.uk] p0cgqmd2: Downloading MPD manifest
08/08/2022 06:34:10 - [debug] Invoking downloader on u'https://vod-hls-uk.live.cf.md.bbci.co.uk/usp/auth/vod/piff_abr_full_hd/821cf0-p0cgqmd2/vf_p0cgqmd2_baf9e9c5-ca44-4b34-93ea-5c0ba75d6964.ism.hlsv2.ism/vf_p0cgqmd2_baf9e9c5-ca44-4b34-93ea-5c0ba75d6964.ism.hlsv2-audio_eng_1=128000-video=2812000.m3u8'
08/08/2022 06:34:10 - [hlsnative] Downloading m3u8 manifest
08/08/2022 06:34:11 - [hlsnative] Total fragments: 465
08/08/2022 06:34:11 - [download] Destination: /mnt/hd2/My Video/40-Imported_Video/Big_Oil_v_the_World_Series_1_Denial.mp4
08/08/2022 07:04:38 - [download] Download completed
08/08/2022 07:04:41 - [debug] ffmpeg command line: ffprobe -show_streams 'file:/mnt/hd2/My Video/40-Imported_Video/Big_Oil_v_the_World_Series_1_Denial.mp4'
08/08/2022 07:04:43 - [ffmpeg] Fixing malformed AAC bitstream in "/mnt/hd2/My Video/40-Imported_Video/Big_Oil_v_the_World_Series_1_Denial.mp4"
08/08/2022 07:04:43 - [debug] ffmpeg command line: ffmpeg -y -loglevel 'repeat+info' -i 'file:/mnt/hd2/My Video/40-Imported_Video/Big_Oil_v_the_World_Series_1_Denial.mp4' -c copy -f mp4 '-bsf:a' aac_adtstoasc 'file:/mnt/hd2/My Video/40-Imported_Video/Big_Oil_v_the_World_Series_1_Denial.temp.mp4'
08/08/2022 07:13:43 - Completed queued download of  https://www.bbc.co.uk/iplayer/episode/p0cgqlv1/big-oil-v-the-world-series-1-1-denial Options 
08/08/2022 07:40:02 - ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
08/08/2022 07:40:02 - Starting queued download URL  https://www.bbc.co.uk/iplayer/episode/p0cgqlv1/big-oil-v-the-world-series-1-1-denial Options  QID 1782
08/08/2022 07:40:41 - [bbc.co.uk] p0cgqlv1: Downloading video page
08/08/2022 07:40:43 - [bbc.co.uk] p0cgqlv1: Downloading playlist JSON
08/08/2022 07:40:43 - [bbc.co.uk] p0cgqmd2: Downloading media selection JSON
08/08/2022 07:40:44 - [bbc.co.uk] p0cgqmd2: Downloading m3u8 information
08/08/2022 07:40:44 - [bbc.co.uk] p0cgqmd2: Downloading m3u8 information
08/08/2022 07:40:45 - [bbc.co.uk] p0cgqmd2: Downloading m3u8 information
08/08/2022 07:40:45 - [bbc.co.uk] p0cgqmd2: Downloading m3u8 information
08/08/2022 07:40:45 - [bbc.co.uk] p0cgqmd2: Downloading m3u8 information
08/08/2022 07:40:46 - [bbc.co.uk] p0cgqmd2: Downloading m3u8 information
08/08/2022 07:40:46 - [bbc.co.uk] p0cgqmd2: Downloading MPD manifest
08/08/2022 07:40:48 - [bbc.co.uk] p0cgqmd2: Downloading MPD manifest
08/08/2022 07:40:50 - [bbc.co.uk] p0cgqmd2: Downloading MPD manifest
08/08/2022 07:40:51 - [bbc.co.uk] p0cgqmd2: Downloading MPD manifest
08/08/2022 07:40:52 - [bbc.co.uk] p0cgqmd2: Downloading MPD manifest
08/08/2022 07:40:54 - [bbc.co.uk] p0cgqmd2: Downloading MPD manifest
08/08/2022 07:41:22 - [debug] Invoking downloader on u'https://vod-hls-uk.live.cf.md.bbci.co.uk/usp/auth/vod/piff_abr_full_hd/821cf0-p0cgqmd2/vf_p0cgqmd2_baf9e9c5-ca44-4b34-93ea-5c0ba75d6964.ism.hlsv2.ism/vf_p0cgqmd2_baf9e9c5-ca44-4b34-93ea-5c0ba75d6964.ism.hlsv2-audio_eng_1=128000-video=5070000.m3u8'
08/08/2022 07:41:22 - [hlsnative] Downloading m3u8 manifest
08/08/2022 07:41:23 - [hlsnative] Total fragments: 465
08/08/2022 07:41:23 - [download] Destination: /mnt/hd2/My Video/40-Imported_Video/Big_Oil_v_the_World_Series_1_Denial.mp4
08/08/2022 07:41:23 - [download]   0.0% of ~2.36GiB at 151.56KiB/s ETA --:--:--
08/08/2022 07:41:23 - [download]   0.0% of ~2.36GiB at 86.19KiB/s ETA 90:13:34
08/08/2022 07:41:23 - [download]   0.0% of ~2.36GiB at 160.06KiB/s ETA 39:33:37
08/08/2022 07:41:23 - [download]   0.0% of ~2.36GiB at 263.68KiB/s ETA 19:05:34
08/08/2022 07:41:23 - [download]   0.0% of ~2.36GiB at 398.51KiB/s ETA 09:41:44
08/08/2022 07:41:23 - [download]   0.0% of ~2.36GiB at 530.70KiB/s ETA 05:12:56
08/08/2022 07:41:23 - [download]   0.0% of ~2.36GiB at 567.57KiB/s ETA 03:09:11
08/08/2022 07:41:24 - [download]   0.0% of ~2.36GiB at 614.78KiB/s ETA 02:05:10
08/08/2022 07:41:24 - [download]   0.0% of ~2.36GiB at 767.05KiB/s ETA 01:22:50
08/08/2022 07:41:24 - [download]   0.0% of ~2.36GiB at 787.18KiB/s ETA 01:06:48
08/08/2022 07:41:26 - [download]   0.1% of ~2.36GiB at 789.43KiB/s ETA 01:00:16
08/08/2022 07:41:26 - [download]   0.1% of ~2.36GiB at 811.74KiB/s ETA 56:21
08/08/2022 07:41:27 - [download]   0.1% of ~2.36GiB at 814.72KiB/s ETA 54:45
08/08/2022 07:41:29 - [download]   0.2% of ~2.36GiB at 762.65KiB/s ETA 57:21
08/08/2022 07:41:29 - [download]   0.2% of ~2.36GiB at 818.23KiB/s ETA 53:16
08/08/2022 07:41:30 - [download]   0.2% of ~2.36GiB at 806.96KiB/s ETA 53:44
08/08/2022 07:41:30 - [download]   0.2% of ~2.36GiB at 806.96KiB/s ETA 53:44
08/08/2022 07:41:30 - [download]   0.2% of ~2.26GiB at 83.33KiB/s ETA 56:51
08/08/2022 07:41:30 - [download]   0.2% of ~2.26GiB at 157.90KiB/s ETA 56:53
08/08/2022 07:41:31 - [download]   0.2% of ~2.26GiB at 259.26KiB/s ETA 56:54
08/08/2022 07:41:31 - [download]   0.2% of ~2.26GiB at 394.74KiB/s ETA 56:54
08/08/2022 07:41:31 - [download]   0.2% of ~2.26GiB at 584.91KiB/s ETA 56:50
08/08/2022 07:41:31 - [download]   0.2% of ~2.26GiB at 732.56KiB/s ETA 56:44
08/08/2022 07:41:31 - [download]   0.2% of ~2.26GiB at 748.29KiB/s ETA 56:41
......

08/08/2022 08:32:49 - [download] 100.0% of ~2.22GiB at 817.28KiB/s ETA 00:00
08/08/2022 08:32:50 - [download] 100.0% of ~2.22GiB at 829.96KiB/s ETA 00:00
08/08/2022 08:32:50 - [download] 100.0% of ~2.22GiB at 829.96KiB/s ETA 00:00
08/08/2022 08:32:50 - [download] 100% of 2.22GiB in 51:27
08/08/2022 08:32:52 - [debug] ffmpeg command line: ffprobe -show_streams 'file:/mnt/hd2/My Video/40-Imported_Video/Big_Oil_v_the_World_Series_1_Denial.mp4'
08/08/2022 08:32:54 - [ffmpeg] Fixing malformed AAC bitstream in "/mnt/hd2/My Video/40-Imported_Video/Big_Oil_v_the_World_Series_1_Denial.mp4"
08/08/2022 08:32:54 - [debug] ffmpeg command line: ffmpeg -y -loglevel 'repeat+info' -i 'file:/mnt/hd2/My Video/40-Imported_Video/Big_Oil_v_the_World_Series_1_Denial.mp4' -c copy -f mp4 '-bsf:a' aac_adtstoasc 'file:/mnt/hd2/My Video/40-Imported_Video/Big_Oil_v_the_World_Series_1_Denial.temp.mp4'
08/08/2022 08:44:56 - Completed queued download of  https://www.bbc.co.uk/iplayer/episode/p0cgqlv1/big-oil-v-the-world-series-1-1-denial Options

I missed this bit earlier - I was half asleep!
The log shows the URL being passed in yet by the second line of the extractor
Code:
        webpage = self._download_webpage(url, group_id, 'Downloading video page')
when that call has passed the URL into the urllib2 library the associated request object has no host.

This is presumably because there are unwanted \n(newline) characters in the URL as the same error is shown in a command-line run of the command if you get the quoting of the newlines right.
 
Back
Top