spaam / svtplay-dl

Small command-line program to download videos from some streaming sites.
https://svtplay-dl.se
MIT License
714 stars 118 forks source link

Tv4play error 2023-03-02 #1526

Closed OlleSunesson closed 1 year ago

OlleSunesson commented 1 year ago

svtplay-dl versions: 4.18

Run svtplay-dl --version

Operating system and Python version: Win 10 Pro , 3.8.10

Name and version of the operating system and python version (run python --version)

What is the issue:

WARNING Retrying (Retry(total=4, connect=5, read=4, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', HTTPException('got more than 100 headers'))' 356058bf-9970-470d-b845-f70399f5ba5557a3caf0-63a1-11ed-9a70-458eaa0275d8_20339306.ism.m3u8 WARNING Retrying (Retry(total=3, connect=5, read=3, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', HTTPException('got more than 100 headers'))' 356058bf-9970-470d-b845-f70399f5ba5557a3caf0-63a1-11ed-9a70-458eaa0275d8_20339306.ism.m3u8 WARNING Retrying (Retry(total=2, connect=5, read=2, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', HTTPException('got more than 100 headers'))' 356058bf-9970-470d-b845-f70399f5ba5557a3caf0-63a1-11ed-9a70-458eaa0275d8_20339306.ism.m3u8 WARNING Retrying (Retry(total=1, connect=5, read=1, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', HTTPException('got more than 100 headers'))' 356058bf-9970-470d-b845-f70399f5ba5557a3caf0-63a1-11ed-9a70-458eaa0275d8_20339306.ism.m3u8 WARNING Retrying (Retry(total=0, connect=5, read=0, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', HTTPException('got more than 100 headers'))' 356058bf-9970-470d-b845-f70399f5ba5557a3caf0-63a1-11ed-9a70-458eaa0275d8_20339306.ism.m3u8 ERROR svtplay-dl crashed ERROR Run again and add --verbose as an argument, to get more information ERROR If the error persists, you can report it at httpsgithub.comspaamsvtplay-dlissues ERROR Include the URL used, the stack trace and the output of svtplay-dl --version in the issue

Diagnosis Murder del 4 - Murder In The Courthouse - Säsong 3, 44 min

URL: https://www.tv4play.se/program/diagnosis-murder/del-4-murder-in-the-courthouse-s%C3%A4song-3/12490852?offset=3

Ver svtplay-dl : 4.18

MVH Olle Sunesson olle@ssr.se

R3C01L-SWE commented 1 year ago

Maybe not the most gracious error but that is 99% cause by a bad connection.

INFO: Url: https://www.tv4play.se/program/diagnosis-murder/12490852 INFO: Outfile: diagnosis-murder.s03e04.diagnosis.murder.del.4-murder.in.the.courthouse-12490852-tv4play.sv.srt INFO: Outfile: diagnosis-murder.s03e04.diagnosis.murder.del.4-murder.in.the.courthouse-12490852-tv4play.ts INFO: Selected to download hls, bitrate: 2787 format: h264 [697/697][====================================================================================================================================================================================================================================================================================================================================] ETA: 0:00:00 [671/671][====================================================================================================================================================================================================================================================================================================================================] ETA: 0:00:00 INFO: Merge audio and video into diagnosis-murder.s03e04.diagnosis.murder.del.4-murder.in.the.courthouse-12490852-tv4play.mp4 INFO: Merging done, removing old files.

Works fine over here with:

greyfox@mbp ~ % svtplay-dl --version svtplay-dl 4.18

pythonuser3856 commented 1 year ago

Previously I had a comment that I got the same error trying to get episode 14 from season 2 of "Farligt uppdrag" on TV4play when using a VPN service, i.e. the link: https://www.tv4play.se/program/farligt-uppdrag/del-14-s%C3%A4song-2/13797019 I don't get that error anymore using svtplay-dl v4.19.

Umeaboy commented 1 year ago

I have this issue as well and I've built from latest source.

spaam commented 1 year ago

do you use vpn? i cant reproduce the issue and please dont cut the traceback if you want it fixed.

Umeaboy commented 1 year ago

I don't use VPN.

30 mars 2023 21:23 av @.***:

do you use vpn? i cant reproduce the issue and please dont cut the traceback if you want it fixed.

— Reply to this email directly, > view it on GitHub https://github.com/spaam/svtplay-dl/issues/1526#issuecomment-1490816264> , or > unsubscribe https://github.com/notifications/unsubscribe-auth/AAFON2N2XNGDTGTDEN6ONVDW6XMRVANCNFSM6AAAAAAVNG4RN4> . You are receiving this because you commented.> Message ID: > <spaam/svtplay-dl/issues/1526/1490816264> @> github> .> com>

ottob commented 1 year ago

no vpn svtplay-dl --verbose https://www.tv4.se/klipp/va/20489434/maria-lamnade-allt-for-att-bli-elitsurfare-malet-ar-att-vinna-sm

DEBUG [1680299039.2419572] /usr/local/bin/svtplay-dl/svtplay_dl/utils/getmedia.py/get_media: version: 4.19
DEBUG [1680299039.242433] /usr/local/bin/svtplay-dl/svtplay_dl/service/__init__.py/__init__: service: tv4
DEBUG [1680299039.2424572] /usr/local/bin/svtplay-dl/svtplay_dl/utils/http.py/request: HTTP getting 'https://www.tv4.se/klipp/va/20489434/maria-lamnade-allt-for-att-bli-elitsurfare-malet-ar-att-vinna-sm'
DEBUG [1680299039.439262] /Users/otto/Library/Python/3.9/lib/python/site-packages/urllib3/connectionpool.py/_new_conn: Starting new HTTPS connection (1): www.tv4.se:443
DEBUG [1680299039.879703] /Users/otto/Library/Python/3.9/lib/python/site-packages/urllib3/connectionpool.py/_make_request: https://www.tv4.se:443 "GET /klipp/va/20489434/maria-lamnade-allt-for-att-bli-elitsurfare-malet-ar-att-vinna-sm HTTP/1.1" 200 None
DEBUG [1680299039.883757] /usr/local/bin/svtplay-dl/svtplay_dl/utils/http.py/request: HTTP getting 'https://playback2.a2d.tv/play/20489434?service=tv4&device=browser&protocol=hls%2Cdash&drm=widevine&capabilities=live-drm-adstitch-2%2Cexpired_assets'
DEBUG [1680299040.0847208] /Users/otto/Library/Python/3.9/lib/python/site-packages/urllib3/connectionpool.py/_new_conn: Starting new HTTPS connection (1): playback2.a2d.tv:443
DEBUG [1680299040.533531] /Users/otto/Library/Python/3.9/lib/python/site-packages/urllib3/connectionpool.py/_make_request: https://playback2.a2d.tv:443 "GET /play/20489434?service=tv4&device=browser&protocol=hls%2Cdash&drm=widevine&capabilities=live-drm-adstitch-2%2Cexpired_assets HTTP/1.1" 200 3831
DEBUG [1680299040.53464] /usr/local/bin/svtplay-dl/svtplay_dl/utils/http.py/request: HTTP getting 'https://vod.streaming.a2d.tv/39835d23-5e22-42e8-92b0-850e1d7a664a/c699fa90-cc85-11ed-a8ca-c573ff3b44d3_20489434.ism/.m3u8'
DEBUG [1680299040.780771] /Users/otto/Library/Python/3.9/lib/python/site-packages/urllib3/connectionpool.py/_new_conn: Starting new HTTPS connection (1): vod.streaming.a2d.tv:443
DEBUG [1680299040.824167] /Users/otto/Library/Python/3.9/lib/python/site-packages/urllib3/util/retry.py/increment: Incremented Retry for (url='/39835d23-5e22-42e8-92b0-850e1d7a664a/c699fa90-cc85-11ed-a8ca-c573ff3b44d3_20489434.ism/.m3u8'): Retry(total=4, connect=5, read=4, redirect=None, status=None)
WARNING [1680299040.824346] /Users/otto/Library/Python/3.9/lib/python/site-packages/urllib3/connectionpool.py/urlopen: Retrying (Retry(total=4, connect=5, read=4, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', HTTPException('got more than 100 headers'))': /39835d23-5e22-42e8-92b0-850e1d7a664a/c699fa90-cc85-11ed-a8ca-c573ff3b44d3_20489434.ism/.m3u8
DEBUG [1680299040.824524] /Users/otto/Library/Python/3.9/lib/python/site-packages/urllib3/connectionpool.py/_new_conn: Starting new HTTPS connection (2): vod.streaming.a2d.tv:443
DEBUG [1680299040.867563] /Users/otto/Library/Python/3.9/lib/python/site-packages/urllib3/util/retry.py/increment: Incremented Retry for (url='/39835d23-5e22-42e8-92b0-850e1d7a664a/c699fa90-cc85-11ed-a8ca-c573ff3b44d3_20489434.ism/.m3u8'): Retry(total=3, connect=5, read=3, redirect=None, status=None)
WARNING [1680299041.473304] /Users/otto/Library/Python/3.9/lib/python/site-packages/urllib3/connectionpool.py/urlopen: Retrying (Retry(total=3, connect=5, read=3, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', HTTPException('got more than 100 headers'))': /39835d23-5e22-42e8-92b0-850e1d7a664a/c699fa90-cc85-11ed-a8ca-c573ff3b44d3_20489434.ism/.m3u8
DEBUG [1680299041.4741151] /Users/otto/Library/Python/3.9/lib/python/site-packages/urllib3/connectionpool.py/_new_conn: Starting new HTTPS connection (3): vod.streaming.a2d.tv:443
DEBUG [1680299041.5199628] /Users/otto/Library/Python/3.9/lib/python/site-packages/urllib3/util/retry.py/increment: Incremented Retry for (url='/39835d23-5e22-42e8-92b0-850e1d7a664a/c699fa90-cc85-11ed-a8ca-c573ff3b44d3_20489434.ism/.m3u8'): Retry(total=2, connect=5, read=2, redirect=None, status=None)
WARNING [1680299042.7242088] /Users/otto/Library/Python/3.9/lib/python/site-packages/urllib3/connectionpool.py/urlopen: Retrying (Retry(total=2, connect=5, read=2, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', HTTPException('got more than 100 headers'))': /39835d23-5e22-42e8-92b0-850e1d7a664a/c699fa90-cc85-11ed-a8ca-c573ff3b44d3_20489434.ism/.m3u8
DEBUG [1680299042.7248588] /Users/otto/Library/Python/3.9/lib/python/site-packages/urllib3/connectionpool.py/_new_conn: Starting new HTTPS connection (4): vod.streaming.a2d.tv:443
DEBUG [1680299042.7749739] /Users/otto/Library/Python/3.9/lib/python/site-packages/urllib3/util/retry.py/increment: Incremented Retry for (url='/39835d23-5e22-42e8-92b0-850e1d7a664a/c699fa90-cc85-11ed-a8ca-c573ff3b44d3_20489434.ism/.m3u8'): Retry(total=1, connect=5, read=1, redirect=None, status=None)
WARNING [1680299045.175972] /Users/otto/Library/Python/3.9/lib/python/site-packages/urllib3/connectionpool.py/urlopen: Retrying (Retry(total=1, connect=5, read=1, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', HTTPException('got more than 100 headers'))': /39835d23-5e22-42e8-92b0-850e1d7a664a/c699fa90-cc85-11ed-a8ca-c573ff3b44d3_20489434.ism/.m3u8
DEBUG [1680299045.176542] /Users/otto/Library/Python/3.9/lib/python/site-packages/urllib3/connectionpool.py/_new_conn: Starting new HTTPS connection (5): vod.streaming.a2d.tv:443
DEBUG [1680299045.227778] /Users/otto/Library/Python/3.9/lib/python/site-packages/urllib3/util/retry.py/increment: Incremented Retry for (url='/39835d23-5e22-42e8-92b0-850e1d7a664a/c699fa90-cc85-11ed-a8ca-c573ff3b44d3_20489434.ism/.m3u8'): Retry(total=0, connect=5, read=0, redirect=None, status=None)
WARNING [1680299050.033192] /Users/otto/Library/Python/3.9/lib/python/site-packages/urllib3/connectionpool.py/urlopen: Retrying (Retry(total=0, connect=5, read=0, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', HTTPException('got more than 100 headers'))': /39835d23-5e22-42e8-92b0-850e1d7a664a/c699fa90-cc85-11ed-a8ca-c573ff3b44d3_20489434.ism/.m3u8
DEBUG [1680299050.033528] /Users/otto/Library/Python/3.9/lib/python/site-packages/urllib3/connectionpool.py/_new_conn: Starting new HTTPS connection (6): vod.streaming.a2d.tv:443
Traceback (most recent call last):
  File "/Users/otto/Library/Python/3.9/lib/python/site-packages/urllib3/connectionpool.py", line 703, in urlopen
    httplib_response = self._make_request(
  File "/Users/otto/Library/Python/3.9/lib/python/site-packages/urllib3/connectionpool.py", line 449, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/Users/otto/Library/Python/3.9/lib/python/site-packages/urllib3/connectionpool.py", line 444, in _make_request
    httplib_response = conn.getresponse()
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/http/client.py", line 1349, in getresponse
    response.begin()
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/http/client.py", line 335, in begin
    self.headers = self.msg = parse_headers(self.fp)
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/http/client.py", line 232, in parse_headers
    headers = _read_headers(fp)
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/http/client.py", line 217, in _read_headers
    raise HTTPException("got more than %d headers" % _MAXHEADERS)
http.client.HTTPException: got more than 100 headers

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/otto/Library/Python/3.9/lib/python/site-packages/requests/adapters.py", line 489, in send
    resp = conn.urlopen(
  File "/Users/otto/Library/Python/3.9/lib/python/site-packages/urllib3/connectionpool.py", line 815, in urlopen
    return self.urlopen(
  File "/Users/otto/Library/Python/3.9/lib/python/site-packages/urllib3/connectionpool.py", line 815, in urlopen
    return self.urlopen(
  File "/Users/otto/Library/Python/3.9/lib/python/site-packages/urllib3/connectionpool.py", line 815, in urlopen
    return self.urlopen(
  [Previous line repeated 2 more times]
  File "/Users/otto/Library/Python/3.9/lib/python/site-packages/urllib3/connectionpool.py", line 787, in urlopen
    retries = retries.increment(
  File "/Users/otto/Library/Python/3.9/lib/python/site-packages/urllib3/util/retry.py", line 592, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='vod.streaming.a2d.tv', port=443): Max retries exceeded with url: /39835d23-5e22-42e8-92b0-850e1d7a664a/c699fa90-cc85-11ed-a8ca-c573ff3b44d3_20489434.ism/.m3u8 (Caused by ProtocolError('Connection aborted.', HTTPException('got more than 100 headers')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.9/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/usr/local/bin/svtplay-dl/__main__.py", line 15, in <module>
  File "/usr/local/bin/svtplay-dl/svtplay_dl/__init__.py", line 69, in main
  File "/usr/local/bin/svtplay-dl/svtplay_dl/utils/getmedia.py", line 63, in get_media
  File "/usr/local/bin/svtplay-dl/svtplay_dl/utils/getmedia.py", line 112, in get_one_media
  File "/usr/local/bin/svtplay-dl/svtplay_dl/service/tv4play.py", line 210, in get
  File "/usr/local/bin/svtplay-dl/svtplay_dl/utils/http.py", line 42, in request
  File "/Users/otto/Library/Python/3.9/lib/python/site-packages/requests/sessions.py", line 587, in request
    resp = self.send(prep, **send_kwargs)
  File "/Users/otto/Library/Python/3.9/lib/python/site-packages/requests/sessions.py", line 701, in send
    r = adapter.send(request, **kwargs)
  File "/Users/otto/Library/Python/3.9/lib/python/site-packages/requests/adapters.py", line 565, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='vod.streaming.a2d.tv', port=443): Max retries exceeded with url: /39835d23-5e22-42e8-92b0-850e1d7a664a/c699fa90-cc85-11ed-a8ca-c573ff3b44d3_20489434.ism/.m3u8 (Caused by ProtocolError('Connection aborted.', HTTPException('got more than 100 headers')))
spaam commented 1 year ago

@ottob what does curl -v https://vod.streaming.a2d.tv/39835d23-5e22-42e8-92b0-850e1d7a664a/c699fa90-cc85-11ed-a8ca-c573ff3b44d3_20489434.ism/.m3u8 say?

ottob commented 1 year ago

I tried again today and it worked. Perhaps it was a fluke while I updated Xcode.

pythonuser3856 commented 1 year ago

Using: windows 64 python 3.8.10 svtplay-dl 4.19

I get a download failure with two episodes of "Mord i paradiset" at TV4play The links: https://www.tv4play.se/program/mord-i-paradiset/del-7-the-man-with-the-golden-gun-säsong-3/12521452 and https://www.tv4play.se/program/mord-i-paradiset/del-8-a-deadly-party-säsong-2/12489184

Other currently available episodes of "Mord i paradiset" got downloaded just fine.

A trace printout at using the first link: svtplay-dl -S --verbose https://www.tv4play.se/program/mord-i-paradiset/del-7-the-man-with-the-golden-gun-säsong-3/12521452

DEBUG [1680810100.5579593] c:\svtplaydll\svtplay-dl_v419_2023-03-16py\svtplay_dl \utils\getmedia.py/get_media: version: 4.19 DEBUG [1680810100.5579593] c:\svtplaydll\svtplay-dl_v419_2023-03-16py\svtplay_dl \service__init.py/init__: service: tv4play DEBUG [1680810100.5579593] c:\svtplaydll\svtplay-dl_v419_2023-03-16py\svtplay_dl \utils\http.py/request: HTTP getting 'https://www.tv4play.se/program/mord-i-para diset/del-7-the-man-with-the-golden-gun-säsong-3/12521452' DEBUG [1680810100.5579593] C:\Users\User name\AppData\Roaming\Python\Python38\si te-packages\urllib3\connectionpool.py/_new_conn: Starting new HTTPS connection ( 1): www.tv4play.se:443 DEBUG [1680810100.9798808] C:\Users\User name\AppData\Roaming\Python\Python38\si te-packages\urllib3\connectionpool.py/_make_request: https://www.tv4play.se:443 "GET /program/mord-i-paradiset/del-7-the-man-with-the-golden-gun-s%C3%A4song-3/1 2521452 HTTP/1.1" 200 None DEBUG [1680810100.9798808] c:\svtplaydll\svtplay-dl_v419_2023-03-16py\svtplay_dl \utils\http.py/request: HTTP getting 'https://playback2.a2d.tv/play/12521452?ser vice=tv4&device=browser&browser=GoogleChrome&protocol=hls%2Cdash&drm=widevine&ca pabilities=live-drm-adstitch-2%2Cexpired_assets' DEBUG [1680810100.9798808] C:\Users\User name\AppData\Roaming\Python\Python38\si te-packages\urllib3\connectionpool.py/_new_conn: Starting new HTTPS connection ( 1): playback2.a2d.tv:443 DEBUG [1680810101.4017935] C:\Users\User name\AppData\Roaming\Python\Python38\si te-packages\urllib3\connectionpool.py/_make_request: https://playback2.a2d.tv:44 3 "GET /play/12521452?service=tv4&device=browser&browser=GoogleChrome&protocol=h ls%2Cdash&drm=widevine&capabilities=live-drm-adstitch-2%2Cexpired_assets HTTP/1. 1" 200 4107 DEBUG [1680810101.4017935] c:\svtplaydll\svtplay-dl_v419_2023-03-16py\svtplay_dl \utils\http.py/request: HTTP getting 'https://vod.streaming.a2d.tv/3a897b36-4a4a -4249-a71c-bc8bafed7bff/a3bade00-5bbe-11ed-9289-478afe6c2269_20324804.ism/.m3u8'

DEBUG [1680810101.4017935] C:\Users\User name\AppData\Roaming\Python\Python38\si te-packages\urllib3\connectionpool.py/_new_conn: Starting new HTTPS connection ( 1): vod.streaming.a2d.tv:443 DEBUG [1680810101.4486663] C:\Users\User name\AppData\Roaming\Python\Python38\si te-packages\urllib3\util\retry.py/increment: Incremented Retry for (url='/3a897b 36-4a4a-4249-a71c-bc8bafed7bff/a3bade00-5bbe-11ed-9289-478afe6c2269_20324804.ism /.m3u8'): Retry(total=4, connect=5, read=4, redirect=None, status=None) WARNING [1680810101.4486663] C:\Users\User name\AppData\Roaming\Python\Python38\ site-packages\urllib3\connectionpool.py/urlopen: Retrying (Retry(total=4, connec t=5, read=4, redirect=None, status=None)) after connection broken by 'ProtocolEr ror('Connection aborted.', HTTPException('got more than 100 headers'))': /3a897b 36-4a4a-4249-a71c-bc8bafed7bff/a3bade00-5bbe-11ed-9289-478afe6c2269_20324804.ism /.m3u8 DEBUG [1680810101.4486663] C:\Users\User name\AppData\Roaming\Python\Python38\si te-packages\urllib3\connectionpool.py/_new_conn: Starting new HTTPS connection ( 2): vod.streaming.a2d.tv:443 DEBUG [1680810101.5111773] C:\Users\User name\AppData\Roaming\Python\Python38\si te-packages\urllib3\util\retry.py/increment: Incremented Retry for (url='/3a897b 36-4a4a-4249-a71c-bc8bafed7bff/a3bade00-5bbe-11ed-9289-478afe6c2269_20324804.ism /.m3u8'): Retry(total=3, connect=5, read=3, redirect=None, status=None) WARNING [1680810102.1205988] C:\Users\User name\AppData\Roaming\Python\Python38\ site-packages\urllib3\connectionpool.py/urlopen: Retrying (Retry(total=3, connec t=5, read=3, redirect=None, status=None)) after connection broken by 'ProtocolEr ror('Connection aborted.', HTTPException('got more than 100 headers'))': /3a897b 36-4a4a-4249-a71c-bc8bafed7bff/a3bade00-5bbe-11ed-9289-478afe6c2269_20324804.ism /.m3u8 DEBUG [1680810102.1205988] C:\Users\User name\AppData\Roaming\Python\Python38\si te-packages\urllib3\connectionpool.py/_new_conn: Starting new HTTPS connection ( 3): vod.streaming.a2d.tv:443 DEBUG [1680810102.16748] C:\Users\User name\AppData\Roaming\Python\Python38\site -packages\urllib3\util\retry.py/increment: Incremented Retry for (url='/3a897b36 -4a4a-4249-a71c-bc8bafed7bff/a3bade00-5bbe-11ed-9289-478afe6c2269_20324804.ism/. m3u8'): Retry(total=2, connect=5, read=2, redirect=None, status=None) WARNING [1680810103.3707008] C:\Users\User name\AppData\Roaming\Python\Python38\ site-packages\urllib3\connectionpool.py/urlopen: Retrying (Retry(total=2, connec t=5, read=2, redirect=None, status=None)) after connection broken by 'ProtocolEr ror('Connection aborted.', HTTPException('got more than 100 headers'))': /3a897b 36-4a4a-4249-a71c-bc8bafed7bff/a3bade00-5bbe-11ed-9289-478afe6c2269_20324804.ism /.m3u8 DEBUG [1680810103.3707008] C:\Users\User name\AppData\Roaming\Python\Python38\si te-packages\urllib3\connectionpool.py/_new_conn: Starting new HTTPS connection ( 4): vod.streaming.a2d.tv:443 DEBUG [1680810103.4175804] C:\Users\User name\AppData\Roaming\Python\Python38\si te-packages\urllib3\util\retry.py/increment: Incremented Retry for (url='/3a897b 36-4a4a-4249-a71c-bc8bafed7bff/a3bade00-5bbe-11ed-9289-478afe6c2269_20324804.ism /.m3u8'): Retry(total=1, connect=5, read=1, redirect=None, status=None) WARNING [1680810105.8240228] C:\Users\User name\AppData\Roaming\Python\Python38\ site-packages\urllib3\connectionpool.py/urlopen: Retrying (Retry(total=1, connec t=5, read=1, redirect=None, status=None)) after connection broken by 'ProtocolEr ror('Connection aborted.', HTTPException('got more than 100 headers'))': /3a897b 36-4a4a-4249-a71c-bc8bafed7bff/a3bade00-5bbe-11ed-9289-478afe6c2269_20324804.ism /.m3u8 DEBUG [1680810105.8240228] C:\Users\User name\AppData\Roaming\Python\Python38\si te-packages\urllib3\connectionpool.py/_new_conn: Starting new HTTPS connection ( 5): vod.streaming.a2d.tv:443 DEBUG [1680810105.8709002] C:\Users\User name\AppData\Roaming\Python\Python38\si te-packages\urllib3\util\retry.py/increment: Incremented Retry for (url='/3a897b 36-4a4a-4249-a71c-bc8bafed7bff/a3bade00-5bbe-11ed-9289-478afe6c2269_20324804.ism /.m3u8'): Retry(total=0, connect=5, read=0, redirect=None, status=None) WARNING [1680810110.6837873] C:\Users\User name\AppData\Roaming\Python\Python38\ site-packages\urllib3\connectionpool.py/urlopen: Retrying (Retry(total=0, connec t=5, read=0, redirect=None, status=None)) after connection broken by 'ProtocolEr ror('Connection aborted.', HTTPException('got more than 100 headers'))': /3a897b 36-4a4a-4249-a71c-bc8bafed7bff/a3bade00-5bbe-11ed-9289-478afe6c2269_20324804.ism /.m3u8 DEBUG [1680810110.6837873] C:\Users\User name\AppData\Roaming\Python\Python38\si te-packages\urllib3\connectionpool.py/_new_conn: Starting new HTTPS connection ( 6): vod.streaming.a2d.tv:443 DEBUG [1680810105.8709002] C:\Users\User name\AppData\Roaming\Python\Python38\si te-packages\urllib3\util\retry.py/increment: Incremented Retry for (url='/3a897b 36-4a4a-4249-a71c-bc8bafed7bff/a3bade00-5bbe-11ed-9289-478afe6c2269_20324804.ism /.m3u8'): Retry(total=0, connect=5, read=0, redirect=None, status=None) WARNING [1680810110.6837873] C:\Users\User name\AppData\Roaming\Python\Python38\ site-packages\urllib3\connectionpool.py/urlopen: Retrying (Retry(total=0, connec t=5, read=0, redirect=None, status=None)) after connection broken by 'ProtocolEr ror('Connection aborted.', HTTPException('got more than 100 headers'))': /3a897b 36-4a4a-4249-a71c-bc8bafed7bff/a3bade00-5bbe-11ed-9289-478afe6c2269_20324804.ism /.m3u8 DEBUG [1680810110.6837873] C:\Users\User name\AppData\Roaming\Python\Python38\si te-packages\urllib3\connectionpool.py/_new_conn: Starting new HTTPS connection ( 6): vod.streaming.a2d.tv:443 Traceback (most recent call last): File "C:\Users\User name\AppData\Roaming\Python\Python38\site-packages\urllib3 \connectionpool.py", line 699, in urlopen httplib_response = self._make_request( File "C:\Users\User name\AppData\Roaming\Python\Python38\site-packages\urllib3 \connectionpool.py", line 445, in _make_request six.raise_from(e, None) File "", line 3, in raise_from File "C:\Users\User name\AppData\Roaming\Python\Python38\site-packages\urllib3 \connectionpool.py", line 440, in _make_request httplib_response = conn.getresponse() File "C:\Program Files\Python38\lib\http\client.py", line 1344, in getresponse

response.begin()

File "C:\Program Files\Python38\lib\http\client.py", line 331, in begin self.headers = self.msg = parse_headers(self.fp) File "C:\Program Files\Python38\lib\http\client.py", line 221, in parse_headers raise HTTPException("got more than %d headers" % _MAXHEADERS) http.client.HTTPException: got more than 100 headers

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Users\User name\AppData\Roaming\Python\Python38\site-packages\requests\adapters.py", line 439, in send resp = conn.urlopen( File "C:\Users\User name\AppData\Roaming\Python\Python38\site-packages\urllib3\connectionpool.py", line 783, in urlopen return self.urlopen( File "C:\Users\User name\AppData\Roaming\Python\Python38\site-packages\urllib3\connectionpool.py", line 783, in urlopen return self.urlopen( File "C:\Users\User name\AppData\Roaming\Python\Python38\site-packages\urllib3\connectionpool.py", line 783, in urlopen return self.urlopen( [Previous line repeated 2 more times] File "C:\Users\User name\AppData\Roaming\Python\Python38\site-packages\urllib3\connectionpool.py", line 755, in urlopen retries = retries.increment( File "C:\Users\User name\AppData\Roaming\Python\Python38\site-packages\urllib3\util\retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='vod.streaming.a2d.tv', port=443): Max retries exceeded with url: /3a897b36-4a4a-4249-a71c-bc8bafed7bff/a3bade00-5bbe-11ed-9289-478afe6c2269_20324804.ism/.m3u8 (Caused by ProtocolError('Connection aborted.', HTTPException('got more than 100 headers')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "c:\svtplaydll\svtplay-dl_v419_2023-03-16py__main.py", line 15, in svtplay_dl.main() File "c:\svtplaydll\svtplay-dl_v419_2023-03-16py\svtplay_dl__init__.py", line 69, in main get_media(urls[0], config, version__) File "c:\svtplaydll\svtplay-dl_v419_2023-03-16py\svtplay_dl\utils\getmedia.py", line 63, in get_media get_one_media(stream) File "c:\svtplaydll\svtplay-dl_v419_2023-03-16py\svtplay_dl\utils\getmedia.py", line 112, in get_one_media for i in streams: File "c:\svtplaydll\svtplay-dl_v419_2023-03-16py\svtplay_dl\service\tv4play.py", line 86, in get self.http.request("get", jansson["playbackItem"]["manifestUrl"]), File "c:\svtplaydll\svtplay-dl_v419_2023-03-16py\svtplay_dl\utils\http.py", line 42, in request res = Session.request(self, method, url, verify=self.verify, proxies=self.proxy, *args, kwargs) File "C:\Users\User name\AppData\Roaming\Python\Python38\site-packages\requests\sessions.py", line 542, in request resp = self.send(prep, send_kwargs) File "C:\Users\User name\AppData\Roaming\Python\Python38\site-packages\requests\sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "C:\Users\User name\AppData\Roaming\Python\Python38\site-packages\requests\adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='vod.streaming.a2d.tv', port=443): Max retries exceeded with url: /3a897b36-4a4a-4249-a71c-bc8bafe d7bff/a3bade00-5bbe-11ed-9289-478afe6c2269_20324804.ism/.m3u8 (Caused by ProtocolError('Connection aborted.', HTTPException('got more than 100 headers')))

spaam commented 1 year ago

@pythonuser3856 it works fine here. soo do you use vpn? yes ? no? proxy? special config? what do you get when you do curl -v https://vod.streaming.a2d.tv/3a897b36-4a4a-4249-a71c-bc8bafed7bff/a3bade00-5bbe-11ed-9289-478afe6c2269_20324804.ism/.m3u8 ?

spaam commented 1 year ago

for some reason you guys connecting to some bad server that one of my dependencies complaining about .

pythonuser3856 commented 1 year ago

I've tried both using and not using a VPN. I'm not using an svtplay-dl config file. Network provider is Bahnhof.

New: Episode 7 from season 2 fails at using VPN, succeeds at not using VPN. The link is: https://www.tv4play.se/program/mord-i-paradiset/del-7-a-deadly-storm-säsong-2/12489183 The failure output trace is at a brief look similar to that I've already included.

curl output at not using VPN is:

curl -v https://vod.streaming.a2d.tv/3a897b36-4a4a-4249-a71c-bc8bafed7bff/a3bade00-5bbe -11ed-9289-478afe6c2269_20324804.ism/.m3u8

AUDIO groups

EXT-X-MEDIA:TYPE=AUDIO,GROUP-ID="audio-aacl-128",NAME="audio",DEFAULT=YES,AUTOS

ELECT=YES,CHANNELS="2",URI="a3bade00-5bbe-11ed-9289-478afe6c2269_20324804-audio= 128000.m3u8"

SUBTITLES groups

EXT-X-MEDIA:TYPE=SUBTITLES,GROUP-ID="textstream",LANGUAGE="sv",NAME="Svenska",D

EFAULT=YES,AUTOSELECT=YES,URI="a3bade00-5bbe-11ed-9289-478afe6c2269_20324804-tex tstream_swe=1000.m3u8"

variants

EXT-X-STREAM-INF:BANDWIDTH=455000,CODECS="mp4a.40.2,avc1.4D400D",RESOLUTION=384

x216,FRAME-RATE=25,VIDEO-RANGE=SDR,AUDIO="audio-aacl-128",SUBTITLES="textstream" ,CLOSED-CAPTIONS=NONE a3bade00-5bbe-11ed-9289-478afe6c2269_20324804-video=300000.m3u8

EXT-X-STREAM-INF:BANDWIDTH=985000,CODECS="mp4a.40.2,avc1.4D401E",RESOLUTION=640

x360,FRAME-RATE=25,VIDEO-RANGE=SDR,AUDIO="audio-aacl-128",SUBTITLES="textstream" ,CLOSED-CAPTIONS=NONE a3bade00-5bbe-11ed-9289-478afe6c2269_20324804-video=800000.m3u8

EXT-X-STREAM-INF:BANDWIDTH=1727000,CODECS="mp4a.40.2,avc1.4D401E",RESOLUTION=76

8x432,FRAME-RATE=25,VIDEO-RANGE=SDR,AUDIO="audio-aacl-128",SUBTITLES="textstream ",CLOSED-CAPTIONS=NONE a3bade00-5bbe-11ed-9289-478afe6c2269_20324804-video=1500000.m3u8

EXT-X-STREAM-INF:BANDWIDTH=2787000,CODECS="mp4a.40.2,avc1.4D401F",RESOLUTION=10

24x576,FRAME-RATE=25,VIDEO-RANGE=SDR,AUDIO="audio-aacl-128",SUBTITLES="textstrea m",CLOSED-CAPTIONS=NONE a3bade00-5bbe-11ed-9289-478afe6c2269_20324804-video=2500000.m3u8

EXT-X-STREAM-INF:BANDWIDTH=3847000,CODECS="mp4a.40.2,avc1.64001F",RESOLUTION=12

80x720,FRAME-RATE=25,VIDEO-RANGE=SDR,AUDIO="audio-aacl-128",SUBTITLES="textstrea m",CLOSED-CAPTIONS=NONE a3bade00-5bbe-11ed-9289-478afe6c2269_20324804-video=3500000.m3u8

EXT-X-STREAM-INF:BANDWIDTH=5437000,CODECS="mp4a.40.2,avc1.640028",RESOLUTION=19

20x1080,FRAME-RATE=25,VIDEO-RANGE=SDR,AUDIO="audio-aacl-128",SUBTITLES="textstre am",CLOSED-CAPTIONS=NONE a3bade00-5bbe-11ed-9289-478afe6c2269_20324804-video=5000000.m3u8

EXT-X-STREAM-INF:BANDWIDTH=7027000,CODECS="mp4a.40.2,avc1.640028",RESOLUTION=19

20x1080,FRAME-RATE=25,VIDEO-RANGE=SDR,AUDIO="audio-aacl-128",SUBTITLES="textstre am",CLOSED-CAPTIONS=NONE a3bade00-5bbe-11ed-9289-478afe6c2269_20324804-video=6500000.m3u8

keyframes

EXT-X-I-FRAME-STREAM-INF:BANDWIDTH=40000,CODECS="avc1.4D400D",RESOLUTION=384x21

6,VIDEO-RANGE=SDR,URI="keyframes/a3bade00-5bbe-11ed-9289-478afe6c2269_20324804-v ideo=300000.m3u8"

EXT-X-I-FRAME-STREAM-INF:BANDWIDTH=106000,CODECS="avc1.4D401E",RESOLUTION=640x3

60,VIDEO-RANGE=SDR,URI="keyframes/a3bade00-5bbe-11ed-9289-478afe6c2269_20324804- video=800000.m3u8"

EXT-X-I-FRAME-STREAM-INF:BANDWIDTH=199000,CODECS="avc1.4D401E",RESOLUTION=768x4

32,VIDEO-RANGE=SDR,URI="keyframes/a3bade00-5bbe-11ed-9289-478afe6c2269_20324804- video=1500000.m3u8"

EXT-X-I-FRAME-STREAM-INF:BANDWIDTH=332000,CODECS="avc1.4D401F",RESOLUTION=1024x

576,VIDEO-RANGE=SDR,URI="keyframes/a3bade00-5bbe-11ed-9289-478afe6c2269_20324804 -video=2500000.m3u8"

EXT-X-I-FRAME-STREAM-INF:BANDWIDTH=464000,CODECS="avc1.64001F",RESOLUTION=1280x

720,VIDEO-RANGE=SDR,URI="keyframes/a3bade00-5bbe-11ed-9289-478afe6c2269_20324804 -video=3500000.m3u8"

EXT-X-I-FRAME-STREAM-INF:BANDWIDTH=663000,CODECS="avc1.640028",RESOLUTION=1920x

1080,VIDEO-RANGE=SDR,URI="keyframes/a3bade00-5bbe-11ed-9289-478afe6c2269_2032480 4-video=5000000.m3u8"

pythonuser3856 commented 1 year ago

Still using windows 64 svtplay-dl 4.19 python 3.8.10

Today I'm trying to get media using the link: https://www.tv4play.se/program/13-snart-30/avsnitt/13802488

svtplay-dl fails using the command: svtplay-dl -S -v -o "Långfilm - 13 snart 30" https://www.tv4play.se/program/13-snart-30/avsnitt/13802488 I tried both with and without VPN The feature film media is viewable when using FireFox with the same link

I can add that an attempt to get "Peppermint" using the command and link: svtplay-dl -S -v -o "Långfilm - Peppermint" https://www.tv4play.se/program/peppermint/avsnitt/12579421 is successful. Also this feature film media is viewable when using FireFox with the same link

The trace printout is:

svtplay-dl -S -o "Långfilm - 13 snart 30" https://www.tv4play.se/program/13-snart-30/avsnitt/13802488 DEBUG [1681669294.4575934] c:\svtplaydll\svtplay-dl_v419_2023-03-16py\svtplay_dl \utils\getmedia.py/get_media: version: 4.19 DEBUG [1681669294.4595954] c:\svtplaydll\svtplay-dl_v419_2023-03-16py\svtplay_dl \service__init.py/init__: service: tv4play DEBUG [1681669294.4595954] c:\svtplaydll\svtplay-dl_v419_2023-03-16py\svtplay_dl \utils\http.py/request: HTTP getting 'https://www.tv4play.se/program/13-snart-30 /avsnitt/13802488' DEBUG [1681669294.4656012] C:\Users\User name\AppData\Roaming\Python\Python38\si te-packages\urllib3\connectionpool.py/_new_conn: Starting new HTTPS connection ( 1): www.tv4play.se:443 DEBUG [1681669294.5256593] C:\Users\User name\AppData\Roaming\Python\Python38\si te-packages\urllib3\connectionpool.py/_make_request: https://www.tv4play.se:443 "GET /program/13-snart-30/avsnitt/13802488 HTTP/1.1" 200 None DEBUG [1681669294.528662] c:\svtplaydll\svtplay-dl_v419_2023-03-16py\svtplay_dl\ utils\http.py/request: HTTP getting 'https://playback2.a2d.tv/play/13802488?serv ice=tv4&device=browser&browser=GoogleChrome&protocol=hls%2Cdash&drm=widevine&cap abilities=live-drm-adstitch-2%2Cexpired_assets' DEBUG [1681669294.5316641] C:\Users\User name\AppData\Roaming\Python\Python38\si te-packages\urllib3\connectionpool.py/_new_conn: Starting new HTTPS connection ( 1): playback2.a2d.tv:443 DEBUG [1681669294.8779972] C:\Users\User name\AppData\Roaming\Python\Python38\si te-packages\urllib3\connectionpool.py/_make_request: https://playback2.a2d.tv:44 3 "GET /play/13802488?service=tv4&device=browser&browser=GoogleChrome&protocol=h ls%2Cdash&drm=widevine&capabilities=live-drm-adstitch-2%2Cexpired_assets HTTP/1. 1" 200 5186 DEBUG [1681669294.8789983] c:\svtplaydll\svtplay-dl_v419_2023-03-16py\svtplay_dl \utils\http.py/request: HTTP getting 'https://vod.streaming.a2d.tv/3177fa98-9c8b -4cb9-bef0-8fcb7edc69a9/476f2bd0-d0a6-11ed-8b88-4336f6648e84_20345221.ism/.m3u8'

DEBUG [1681669294.8809993] C:\Users\User name\AppData\Roaming\Python\Python38\si te-packages\urllib3\connectionpool.py/_new_conn: Starting new HTTPS connection ( 1): vod.streaming.a2d.tv:443 DEBUG [1681669294.9250417] C:\Users\User name\AppData\Roaming\Python\Python38\si te-packages\urllib3\util\retry.py/increment: Incremented Retry for (url='/3177fa 98-9c8b-4cb9-bef0-8fcb7edc69a9/476f2bd0-d0a6-11ed-8b88-4336f6648e84_20345221.ism /.m3u8'): Retry(total=4, connect=5, read=4, redirect=None, status=None) WARNING [1681669294.9260426] C:\Users\User name\AppData\Roaming\Python\Python38\ site-packages\urllib3\connectionpool.py/urlopen: Retrying (Retry(total=4, connec t=5, read=4, redirect=None, status=None)) after connection broken by 'ProtocolEr ror('Connection aborted.', HTTPException('got more than 100 headers'))': /3177fa 98-9c8b-4cb9-bef0-8fcb7edc69a9/476f2bd0-d0a6-11ed-8b88-4336f6648e84_20345221.ism /.m3u8 DEBUG [1681669294.9270442] C:\Users\User name\AppData\Roaming\Python\Python38\si te-packages\urllib3\connectionpool.py/_new_conn: Starting new HTTPS connection ( 2): vod.streaming.a2d.tv:443 DEBUG [1681669294.9700851] C:\Users\User name\AppData\Roaming\Python\Python38\si te-packages\urllib3\util\retry.py/increment: Incremented Retry for (url='/3177fa 98-9c8b-4cb9-bef0-8fcb7edc69a9/476f2bd0-d0a6-11ed-8b88-4336f6648e84_20345221.ism /.m3u8'): Retry(total=3, connect=5, read=3, redirect=None, status=None) WARNING [1681669295.5716636] C:\Users\User name\AppData\Roaming\Python\Python38\ site-packages\urllib3\connectionpool.py/urlopen: Retrying (Retry(total=3, connec t=5, read=3, redirect=None, status=None)) after connection broken by 'ProtocolEr ror('Connection aborted.', HTTPException('got more than 100 headers'))': /3177fa 98-9c8b-4cb9-bef0-8fcb7edc69a9/476f2bd0-d0a6-11ed-8b88-4336f6648e84_20345221.ism /.m3u8 DEBUG [1681669295.5726638] C:\Users\User name\AppData\Roaming\Python\Python38\si te-packages\urllib3\connectionpool.py/_new_conn: Starting new HTTPS connection ( 3): vod.streaming.a2d.tv:443 DEBUG [1681669295.6187081] C:\Users\User name\AppData\Roaming\Python\Python38\si te-packages\urllib3\util\retry.py/increment: Incremented Retry for (url='/3177fa 98-9c8b-4cb9-bef0-8fcb7edc69a9/476f2bd0-d0a6-11ed-8b88-4336f6648e84_20345221.ism /.m3u8'): Retry(total=2, connect=5, read=2, redirect=None, status=None) WARNING [1681669296.81986] C:\Users\User name\AppData\Roaming\Python\Python38\si te-packages\urllib3\connectionpool.py/urlopen: Retrying (Retry(total=2, connect= 5, read=2, redirect=None, status=None)) after connection broken by 'ProtocolErro r('Connection aborted.', HTTPException('got more than 100 headers'))': /3177fa98 -9c8b-4cb9-bef0-8fcb7edc69a9/476f2bd0-d0a6-11ed-8b88-4336f6648e84_20345221.ism/. m3u8 DEBUG [1681669296.8208613] C:\Users\User name\AppData\Roaming\Python\Python38\si te-packages\urllib3\connectionpool.py/_new_conn: Starting new HTTPS connection ( 4): vod.streaming.a2d.tv:443 DEBUG [1681669296.8659046] C:\Users\User name\AppData\Roaming\Python\Python38\si te-packages\urllib3\util\retry.py/increment: Incremented Retry for (url='/3177fa 98-9c8b-4cb9-bef0-8fcb7edc69a9/476f2bd0-d0a6-11ed-8b88-4336f6648e84_20345221.ism /.m3u8'): Retry(total=1, connect=5, read=1, redirect=None, status=None) WARNING [1681669299.2672143] C:\Users\User name\AppData\Roaming\Python\Python38\ site-packages\urllib3\connectionpool.py/urlopen: Retrying (Retry(total=1, connec t=5, read=1, redirect=None, status=None)) after connection broken by 'ProtocolEr ror('Connection aborted.', HTTPException('got more than 100 headers'))': /3177fa 98-9c8b-4cb9-bef0-8fcb7edc69a9/476f2bd0-d0a6-11ed-8b88-4336f6648e84_20345221.ism /.m3u8 DEBUG [1681669299.268216] C:\Users\User name\AppData\Roaming\Python\Python38\sit e-packages\urllib3\connectionpool.py/_new_conn: Starting new HTTPS connection (5 ): vod.streaming.a2d.tv:443 DEBUG [1681669299.31326] C:\Users\User name\AppData\Roaming\Python\Python38\site -packages\urllib3\util\retry.py/increment: Incremented Retry for (url='/3177fa98 -9c8b-4cb9-bef0-8fcb7edc69a9/476f2bd0-d0a6-11ed-8b88-4336f6648e84_20345221.ism/. m3u8'): Retry(total=0, connect=5, read=0, redirect=None, status=None) WARNING [1681669304.1148667] C:\Users\User name\AppData\Roaming\Python\Python38\ site-packages\urllib3\connectionpool.py/urlopen: Retrying (Retry(total=0, connec t=5, read=0, redirect=None, status=None)) after connection broken by 'ProtocolEr ror('Connection aborted.', HTTPException('got more than 100 headers'))': /3177fa 98-9c8b-4cb9-bef0-8fcb7edc69a9/476f2bd0-d0a6-11ed-8b88-4336f6648e84_20345221.ism /.m3u8 DEBUG [1681669304.1158683] C:\Users\User name\AppData\Roaming\Python\Python38\si te-packages\urllib3\connectionpool.py/_new_conn: Starting new HTTPS connection ( 6): vod.streaming.a2d.tv:443 Traceback (most recent call last): File "C:\Users\User name\AppData\Roaming\Python\Python38\site-packages\urllib3 \connectionpool.py", line 699, in urlopen httplib_response = self._make_request( File "C:\Users\User name\AppData\Roaming\Python\Python38\site-packages\urllib3 \connectionpool.py", line 445, in _make_request six.raise_from(e, None) File "", line 3, in raise_from File "C:\Users\User name\AppData\Roaming\Python\Python38\site-packages\urllib3 \connectionpool.py", line 440, in _make_request httplib_response = conn.getresponse() File "C:\Program Files\Python38\lib\http\client.py", line 1344, in getresponse

response.begin()

File "C:\Program Files\Python38\lib\http\client.py", line 331, in begin self.headers = self.msg = parse_headers(self.fp) File "C:\Program Files\Python38\lib\http\client.py", line 221, in parse_header s raise HTTPException("got more than %d headers" % _MAXHEADERS) http.client.HTTPException: got more than 100 headers

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "C:\Users\User name\AppData\Roaming\Python\Python38\site-packages\request s\adapters.py", line 439, in send resp = conn.urlopen( File "C:\Users\User name\AppData\Roaming\Python\Python38\site-packages\urllib3 \connectionpool.py", line 783, in urlopen return self.urlopen( File "C:\Users\User name\AppData\Roaming\Python\Python38\site-packages\urllib3 \connectionpool.py", line 783, in urlopen return self.urlopen( File "C:\Users\User name\AppData\Roaming\Python\Python38\site-packages\urllib3 \connectionpool.py", line 783, in urlopen return self.urlopen( [Previous line repeated 2 more times] File "C:\Users\User name\AppData\Roaming\Python\Python38\site-packages\urllib3 \connectionpool.py", line 755, in urlopen retries = retries.increment( File "C:\Users\User name\AppData\Roaming\Python\Python38\site-packages\urllib3 \util\retry.py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='vod.streaming.a2d.tv ', port=443): Max retries exceeded with url: /3177fa98-9c8b-4cb9-bef0-8fcb7edc69 a9/476f2bd0-d0a6-11ed-8b88-4336f6648e84_20345221.ism/.m3u8 (Caused by ProtocolEr ror('Connection aborted.', HTTPException('got more than 100 headers')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "c:\svtplaydll\svtplay-dl_v419_2023-03-16py__main.py", line 15, in <mo dule> svtplay_dl.main() File "c:\svtplaydll\svtplay-dl_v419_2023-03-16py\svtplay_dl__init__.py", line 69, in main get_media(urls[0], config, version__) File "c:\svtplaydll\svtplay-dl_v419_2023-03-16py\svtplay_dl\utils\getmedia.py" , line 63, in get_media get_one_media(stream) File "c:\svtplaydll\svtplay-dl_v419_2023-03-16py\svtplay_dl\utils\getmedia.py" , line 112, in get_one_media for i in streams: File "c:\svtplaydll\svtplay-dl_v419_2023-03-16py\svtplay_dl\service\tv4play.py ", line 86, in get self.http.request("get", jansson["playbackItem"]["manifestUrl"]), File "c:\svtplaydll\svtplay-dl_v419_2023-03-16py\svtplay_dl\utils\http.py", li ne 42, in request res = Session.request(self, method, url, verify=self.verify, proxies=self.pr oxy, *args, kwargs) File "C:\Users\User name\AppData\Roaming\Python\Python38\site-packages\request s\sessions.py", line 542, in request resp = self.send(prep, send_kwargs) File "C:\Users\User name\AppData\Roaming\Python\Python38\site-packages\request s\sessions.py", line 655, in send r = adapter.send(request, **kwargs) File "C:\Users\User name\AppData\Roaming\Python\Python38\site-packages\request s\adapters.py", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='vod.streaming.a2d .tv', port=443): Max retries exceeded with url: /3177fa98-9c8b-4cb9-bef0-8fcb7ed c69a9/476f2bd0-d0a6-11ed-8b88-4336f6648e84_20345221.ism/.m3u8 (Caused by Protoco lError('Connection aborted.', HTTPException('got more than 100 headers')))

spaam commented 1 year ago

this should be fixed in version 4.20 :)