报错这个
- Traceback (most recent call last):
- File "main.py", line 90, in <module>
- response = requests.get(m3u8keyurl, headers=headers, timeout=10)
- File "/usr/local/lib/python3.7/dist-packages/requests/api.py", line 76, in get
- return request(‘get’, url, params=params, **kwargs)
- File "/usr/local/lib/python3.7/dist-packages/requests/api.py", line 61, in request
- return session.request(method=method, url=url, **kwargs)
- File "/usr/local/lib/python3.7/dist-packages/requests/sessions.py", line 528, in request
- prep = self.prepare_request(req)
- File "/usr/local/lib/python3.7/dist-packages/requests/sessions.py", line 466, in prepare_request
- hooks=merge_hooks(request.hooks, self.hooks),
- File "/usr/local/lib/python3.7/dist-packages/requests/models.py", line 316, in prepare
- self.prepare_url(url, params)
- File "/usr/local/lib/python3.7/dist-packages/requests/models.py", line 393, in prepare_url
- raise InvalidURL("Invalid URL %r: No host supplied" % url)
- requests.exceptions.InvalidURL: Invalid URL ‘https:young-master.mushroomtrack.comhlsLQK79JCFSUGTWBovp3aevA16633306762500025779/3f5ec48d8b11f3c8.ts’: No host supplied
复制代码
|