吾爱破解 - 52pojie.cn

 找回密码
 注册[Register]

QQ登录

只需一步,快速开始

查看: 1991|回复: 4
收起左侧

[求助] 头疼 请问这个问题请问大家 怎么解决 vscode显示requests.exceptions.MissingSchema

[复制链接]
07421CONAN 发表于 2020-10-3 23:19
我昨天用爬虫下东西运行的好好的 突然运行其他的脚步直接关闭的vscode程序 结果一失足成千古恨 在运行脚本直接报错
这是脚本:


requests.exceptions.MissingSchema: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?

接口2
Exception in thread Thread-135:
Traceback (most recent call last):
  File "C:\Program Files\Python37\lib\threading.py", line 917, in _bootstrap_inner
    self.run()
  File "C:\Program Files\Python37\lib\threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "c:/Users/pc/Desktop/xmly/download.py", line 112, in download_m4a
    data = requests.get(url, verify=False).content
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 516, in
request
    prep = self.prepare_request(req)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 459, in
prepare_request
    hooks=merge_hooks(request.hooks, self.hooks),
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 314, in prepare
    self.prepare_url(url, params)
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 388, in prepare_url
    raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?

接口2
Exception in thread Thread-136:
Traceback (most recent call last):
  File "C:\Program Files\Python37\lib\threading.py", line 917, in _bootstrap_inner
    self.run()
  File "C:\Program Files\Python37\lib\threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "c:/Users/pc/Desktop/xmly/download.py", line 112, in download_m4a
    data = requests.get(url, verify=False).content
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 516, in
request
    prep = self.prepare_request(req)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 459, in
prepare_request
    hooks=merge_hooks(request.hooks, self.hooks),
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 314, in prepare
    self.prepare_url(url, params)
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 388, in prepare_url
    raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?

接口2
Exception in thread Thread-137:
Traceback (most recent call last):
  File "C:\Program Files\Python37\lib\threading.py", line 917, in _bootstrap_inner
    self.run()
  File "C:\Program Files\Python37\lib\threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "c:/Users/pc/Desktop/xmly/download.py", line 112, in download_m4a
    data = requests.get(url, verify=False).content
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 516, in
request
    prep = self.prepare_request(req)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 459, in
prepare_request
    hooks=merge_hooks(request.hooks, self.hooks),
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 314, in prepare
    self.prepare_url(url, params)
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 388, in prepare_url
    raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?

接口2
Exception in thread Thread-138:
Traceback (most recent call last):
  File "C:\Program Files\Python37\lib\threading.py", line 917, in _bootstrap_inner
    self.run()
  File "C:\Program Files\Python37\lib\threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "c:/Users/pc/Desktop/xmly/download.py", line 112, in download_m4a
    data = requests.get(url, verify=False).content
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 516, in
request
    prep = self.prepare_request(req)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 459, in
prepare_request
    hooks=merge_hooks(request.hooks, self.hooks),
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 314, in prepare
    self.prepare_url(url, params)
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 388, in prepare_url
    raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?

接口2
Exception in thread Thread-139:
Traceback (most recent call last):
  File "C:\Program Files\Python37\lib\threading.py", line 917, in _bootstrap_inner
    self.run()
  File "C:\Program Files\Python37\lib\threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "c:/Users/pc/Desktop/xmly/download.py", line 112, in download_m4a
    data = requests.get(url, verify=False).content
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 516, in
request
    prep = self.prepare_request(req)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 459, in
prepare_request
    hooks=merge_hooks(request.hooks, self.hooks),
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 314, in prepare
    self.prepare_url(url, params)
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 388, in prepare_url
    raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?

接口2
Exception in thread Thread-140:
Traceback (most recent call last):
  File "C:\Program Files\Python37\lib\threading.py", line 917, in _bootstrap_inner
    self.run()
  File "C:\Program Files\Python37\lib\threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "c:/Users/pc/Desktop/xmly/download.py", line 112, in download_m4a
    data = requests.get(url, verify=False).content
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 516, in
request
    prep = self.prepare_request(req)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 459, in
prepare_request
    hooks=merge_hooks(request.hooks, self.hooks),
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 314, in prepare
    self.prepare_url(url, params)
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 388, in prepare_url
    raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?

接口2
Exception in thread Thread-141:
Traceback (most recent call last):
  File "C:\Program Files\Python37\lib\threading.py", line 917, in _bootstrap_inner
    self.run()
  File "C:\Program Files\Python37\lib\threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "c:/Users/pc/Desktop/xmly/download.py", line 112, in download_m4a
    data = requests.get(url, verify=False).content
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 516, in
request
    prep = self.prepare_request(req)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 459, in
prepare_request
    hooks=merge_hooks(request.hooks, self.hooks),
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 314, in prepare
    self.prepare_url(url, params)
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 388, in prepare_url
    raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?

接口2
Exception in thread Thread-142:
Traceback (most recent call last):
  File "C:\Program Files\Python37\lib\threading.py", line 917, in _bootstrap_inner
    self.run()
  File "C:\Program Files\Python37\lib\threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "c:/Users/pc/Desktop/xmly/download.py", line 112, in download_m4a
    data = requests.get(url, verify=False).content
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 516, in
request
    prep = self.prepare_request(req)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 459, in
prepare_request
    hooks=merge_hooks(request.hooks, self.hooks),
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 314, in prepare
    self.prepare_url(url, params)
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 388, in prepare_url
    raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?

接口2
Exception in thread Thread-143:
Traceback (most recent call last):
  File "C:\Program Files\Python37\lib\threading.py", line 917, in _bootstrap_inner
    self.run()
  File "C:\Program Files\Python37\lib\threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "c:/Users/pc/Desktop/xmly/download.py", line 112, in download_m4a
    data = requests.get(url, verify=False).content
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 516, in
request
    prep = self.prepare_request(req)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 459, in
prepare_request
    hooks=merge_hooks(request.hooks, self.hooks),
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 314, in prepare
    self.prepare_url(url, params)
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 388, in prepare_url
    raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?

接口2
Exception in thread Thread-144:
Traceback (most recent call last):
  File "C:\Program Files\Python37\lib\threading.py", line 917, in _bootstrap_inner
    self.run()
  File "C:\Program Files\Python37\lib\threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "c:/Users/pc/Desktop/xmly/download.py", line 112, in download_m4a
    data = requests.get(url, verify=False).content
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 516, in
request
    prep = self.prepare_request(req)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 459, in
prepare_request
    hooks=merge_hooks(request.hooks, self.hooks),
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 314, in prepare
    self.prepare_url(url, params)
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 388, in prepare_url
    raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?

接口2
Exception in thread Thread-145:
Traceback (most recent call last):
  File "C:\Program Files\Python37\lib\threading.py", line 917, in _bootstrap_inner
    self.run()
  File "C:\Program Files\Python37\lib\threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "c:/Users/pc/Desktop/xmly/download.py", line 112, in download_m4a
    data = requests.get(url, verify=False).content
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 516, in
request
    prep = self.prepare_request(req)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 459, in
prepare_request
    hooks=merge_hooks(request.hooks, self.hooks),
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 314, in prepare
    self.prepare_url(url, params)
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 388, in prepare_url
    raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?

接口2
Exception in thread Thread-146:
Traceback (most recent call last):
  File "C:\Program Files\Python37\lib\threading.py", line 917, in _bootstrap_inner
    self.run()
  File "C:\Program Files\Python37\lib\threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "c:/Users/pc/Desktop/xmly/download.py", line 112, in download_m4a
    data = requests.get(url, verify=False).content
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 516, in
request
    prep = self.prepare_request(req)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 459, in
prepare_request
    hooks=merge_hooks(request.hooks, self.hooks),
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 314, in prepare
    self.prepare_url(url, params)
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 388, in prepare_url
    raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?

接口2
Exception in thread Thread-147:
Traceback (most recent call last):
  File "C:\Program Files\Python37\lib\threading.py", line 917, in _bootstrap_inner
    self.run()
  File "C:\Program Files\Python37\lib\threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "c:/Users/pc/Desktop/xmly/download.py", line 112, in download_m4a
    data = requests.get(url, verify=False).content
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 516, in
request
    prep = self.prepare_request(req)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 459, in
prepare_request
    hooks=merge_hooks(request.hooks, self.hooks),
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 314, in prepare
    self.prepare_url(url, params)
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 388, in prepare_url
    raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?

接口2
Exception in thread Thread-148:
Traceback (most recent call last):
  File "C:\Program Files\Python37\lib\threading.py", line 917, in _bootstrap_inner
    self.run()
  File "C:\Program Files\Python37\lib\threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "c:/Users/pc/Desktop/xmly/download.py", line 112, in download_m4a
    data = requests.get(url, verify=False).content
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 516, in
request
    prep = self.prepare_request(req)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 459, in
prepare_request
    hooks=merge_hooks(request.hooks, self.hooks),
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 314, in prepare
    self.prepare_url(url, params)
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 388, in prepare_url
    raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?

接口2
Exception in thread Thread-149:
Traceback (most recent call last):
  File "C:\Program Files\Python37\lib\threading.py", line 917, in _bootstrap_inner
    self.run()
  File "C:\Program Files\Python37\lib\threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "c:/Users/pc/Desktop/xmly/download.py", line 112, in download_m4a
    data = requests.get(url, verify=False).content
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 516, in
request
    prep = self.prepare_request(req)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 459, in
prepare_request
    hooks=merge_hooks(request.hooks, self.hooks),
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 314, in prepare
    self.prepare_url(url, params)
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 388, in prepare_url
    raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?

接口2
Exception in thread Thread-150:
Traceback (most recent call last):
  File "C:\Program Files\Python37\lib\threading.py", line 917, in _bootstrap_inner
    self.run()
  File "C:\Program Files\Python37\lib\threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "c:/Users/pc/Desktop/xmly/download.py", line 112, in download_m4a
    data = requests.get(url, verify=False).content
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 516, in
request
    prep = self.prepare_request(req)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 459, in
prepare_request
    hooks=merge_hooks(request.hooks, self.hooks),
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 314, in prepare
    self.prepare_url(url, params)
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 388, in prepare_url
    raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?

接口2
Exception in thread Thread-151:
Traceback (most recent call last):
  File "C:\Program Files\Python37\lib\threading.py", line 917, in _bootstrap_inner
    self.run()
  File "C:\Program Files\Python37\lib\threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "c:/Users/pc/Desktop/xmly/download.py", line 112, in download_m4a
    data = requests.get(url, verify=False).content
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 516, in
request
    prep = self.prepare_request(req)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 459, in
prepare_request
    hooks=merge_hooks(request.hooks, self.hooks),
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 314, in prepare
    self.prepare_url(url, params)
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 388, in prepare_url
    raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?

接口2
Exception in thread Thread-152:
Traceback (most recent call last):
  File "C:\Program Files\Python37\lib\threading.py", line 917, in _bootstrap_inner
    self.run()
  File "C:\Program Files\Python37\lib\threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "c:/Users/pc/Desktop/xmly/download.py", line 112, in download_m4a
    data = requests.get(url, verify=False).content
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 516, in
request
    prep = self.prepare_request(req)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 459, in
prepare_request
    hooks=merge_hooks(request.hooks, self.hooks),
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 314, in prepare
    self.prepare_url(url, params)
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 388, in prepare_url
    raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?

接口2
Exception in thread Thread-153:
Traceback (most recent call last):
  File "C:\Program Files\Python37\lib\threading.py", line 917, in _bootstrap_inner
    self.run()
  File "C:\Program Files\Python37\lib\threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "c:/Users/pc/Desktop/xmly/download.py", line 112, in download_m4a
    data = requests.get(url, verify=False).content
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 516, in
request
    prep = self.prepare_request(req)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 459, in
prepare_request
    hooks=merge_hooks(request.hooks, self.hooks),
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 314, in prepare
    self.prepare_url(url, params)
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 388, in prepare_url
    raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?

接口2
Exception in thread Thread-154:
Traceback (most recent call last):
  File "C:\Program Files\Python37\lib\threading.py", line 917, in _bootstrap_inner
    self.run()
  File "C:\Program Files\Python37\lib\threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "c:/Users/pc/Desktop/xmly/download.py", line 112, in download_m4a
    data = requests.get(url, verify=False).content
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 516, in
request
    prep = self.prepare_request(req)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 459, in
prepare_request
    hooks=merge_hooks(request.hooks, self.hooks),
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 314, in prepare
    self.prepare_url(url, params)
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 388, in prepare_url
    raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?

接口2
Exception in thread Thread-155:
Traceback (most recent call last):
  File "C:\Program Files\Python37\lib\threading.py", line 917, in _bootstrap_inner
    self.run()
  File "C:\Program Files\Python37\lib\threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "c:/Users/pc/Desktop/xmly/download.py", line 112, in download_m4a
    data = requests.get(url, verify=False).content
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 516, in
request
    prep = self.prepare_request(req)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 459, in
prepare_request
    hooks=merge_hooks(request.hooks, self.hooks),
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 314, in prepare
    self.prepare_url(url, params)
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 388, in prepare_url
    raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?

接口2
Exception in thread Thread-156:
Traceback (most recent call last):
  File "C:\Program Files\Python37\lib\threading.py", line 917, in _bootstrap_inner
    self.run()
  File "C:\Program Files\Python37\lib\threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "c:/Users/pc/Desktop/xmly/download.py", line 112, in download_m4a
    data = requests.get(url, verify=False).content
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 516, in
request
    prep = self.prepare_request(req)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 459, in
prepare_request
    hooks=merge_hooks(request.hooks, self.hooks),
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 314, in prepare
    self.prepare_url(url, params)
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 388, in prepare_url
    raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?

接口2
Exception in thread Thread-157:
Traceback (most recent call last):
  File "C:\Program Files\Python37\lib\threading.py", line 917, in _bootstrap_inner
    self.run()
  File "C:\Program Files\Python37\lib\threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "c:/Users/pc/Desktop/xmly/download.py", line 112, in download_m4a
    data = requests.get(url, verify=False).content
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 516, in
request
    prep = self.prepare_request(req)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 459, in
prepare_request
    hooks=merge_hooks(request.hooks, self.hooks),
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 314, in prepare
    self.prepare_url(url, params)
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 388, in prepare_url
    raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?

接口2
Exception in thread Thread-158:
Traceback (most recent call last):
  File "C:\Program Files\Python37\lib\threading.py", line 917, in _bootstrap_inner
    self.run()
  File "C:\Program Files\Python37\lib\threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "c:/Users/pc/Desktop/xmly/download.py", line 112, in download_m4a
    data = requests.get(url, verify=False).content
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 516, in
request
    prep = self.prepare_request(req)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 459, in
prepare_request
    hooks=merge_hooks(request.hooks, self.hooks),
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 314, in prepare
    self.prepare_url(url, params)
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 388, in prepare_url
    raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?

接口2
Exception in thread Thread-159:
Traceback (most recent call last):
  File "C:\Program Files\Python37\lib\threading.py", line 917, in _bootstrap_inner
    self.run()
  File "C:\Program Files\Python37\lib\threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "c:/Users/pc/Desktop/xmly/download.py", line 112, in download_m4a
    data = requests.get(url, verify=False).content
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 516, in
request
    prep = self.prepare_request(req)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 459, in
prepare_request
    hooks=merge_hooks(request.hooks, self.hooks),
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 314, in prepare
    self.prepare_url(url, params)
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 388, in prepare_url
    raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?

接口2
Exception in thread Thread-160:
Traceback (most recent call last):
  File "C:\Program Files\Python37\lib\threading.py", line 917, in _bootstrap_inner
    self.run()
  File "C:\Program Files\Python37\lib\threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "c:/Users/pc/Desktop/xmly/download.py", line 112, in download_m4a
    data = requests.get(url, verify=False).content
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 516, in
request
    prep = self.prepare_request(req)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 459, in
prepare_request
    hooks=merge_hooks(request.hooks, self.hooks),
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 314, in prepare
    self.prepare_url(url, params)
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 388, in prepare_url
    raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?

接口2
Exception in thread Thread-161:
Traceback (most recent call last):
  File "C:\Program Files\Python37\lib\threading.py", line 917, in _bootstrap_inner
    self.run()
  File "C:\Program Files\Python37\lib\threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "c:/Users/pc/Desktop/xmly/download.py", line 112, in download_m4a
    data = requests.get(url, verify=False).content
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 516, in
request
    prep = self.prepare_request(req)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 459, in
prepare_request
    hooks=merge_hooks(request.hooks, self.hooks),
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 314, in prepare
    self.prepare_url(url, params)
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 388, in prepare_url
    raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?

接口2
Exception in thread Thread-162:
Traceback (most recent call last):
  File "C:\Program Files\Python37\lib\threading.py", line 917, in _bootstrap_inner
    self.run()
  File "C:\Program Files\Python37\lib\threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "c:/Users/pc/Desktop/xmly/download.py", line 112, in download_m4a
    data = requests.get(url, verify=False).content
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 516, in
request
    prep = self.prepare_request(req)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 459, in
prepare_request
    hooks=merge_hooks(request.hooks, self.hooks),
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 314, in prepare
    self.prepare_url(url, params)
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 388, in prepare_url
    raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?

接口2
Exception in thread Thread-163:
Traceback (most recent call last):
  File "C:\Program Files\Python37\lib\threading.py", line 917, in _bootstrap_inner
    self.run()
  File "C:\Program Files\Python37\lib\threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "c:/Users/pc/Desktop/xmly/download.py", line 112, in download_m4a
    data = requests.get(url, verify=False).content
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 516, in
request
    prep = self.prepare_request(req)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 459, in
prepare_request
    hooks=merge_hooks(request.hooks, self.hooks),
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 314, in prepare
    self.prepare_url(url, params)
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 388, in prepare_url
    raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?

接口2
Exception in thread Thread-164:
Traceback (most recent call last):
  File "C:\Program Files\Python37\lib\threading.py", line 917, in _bootstrap_inner
    self.run()
  File "C:\Program Files\Python37\lib\threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "c:/Users/pc/Desktop/xmly/download.py", line 112, in download_m4a
    data = requests.get(url, verify=False).content
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 516, in
request
    prep = self.prepare_request(req)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 459, in
prepare_request
    hooks=merge_hooks(request.hooks, self.hooks),
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 314, in prepare
    self.prepare_url(url, params)
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 388, in prepare_url
    raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?

接口2
Exception in thread Thread-165:
Traceback (most recent call last):
  File "C:\Program Files\Python37\lib\threading.py", line 917, in _bootstrap_inner
    self.run()
  File "C:\Program Files\Python37\lib\threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "c:/Users/pc/Desktop/xmly/download.py", line 112, in download_m4a
    data = requests.get(url, verify=False).content
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 516, in
request
    prep = self.prepare_request(req)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 459, in
prepare_request
    hooks=merge_hooks(request.hooks, self.hooks),
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 314, in prepare
    self.prepare_url(url, params)
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 388, in prepare_url
    raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?

接口2
Exception in thread Thread-166:
Traceback (most recent call last):
  File "C:\Program Files\Python37\lib\threading.py", line 917, in _bootstrap_inner
    self.run()
  File "C:\Program Files\Python37\lib\threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "c:/Users/pc/Desktop/xmly/download.py", line 112, in download_m4a
    data = requests.get(url, verify=False).content
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 516, in
request
    prep = self.prepare_request(req)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 459, in
prepare_request
    hooks=merge_hooks(request.hooks, self.hooks),
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 314, in prepare
    self.prepare_url(url, params)
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 388, in prepare_url
    raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?

接口2
Exception in thread Thread-167:
Traceback (most recent call last):
  File "C:\Program Files\Python37\lib\threading.py", line 917, in _bootstrap_inner
    self.run()
  File "C:\Program Files\Python37\lib\threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "c:/Users/pc/Desktop/xmly/download.py", line 112, in download_m4a
    data = requests.get(url, verify=False).content
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 516, in
request
    prep = self.prepare_request(req)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 459, in
prepare_request
    hooks=merge_hooks(request.hooks, self.hooks),
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 314, in prepare
    self.prepare_url(url, params)
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 388, in prepare_url
    raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?

接口2
Exception in thread Thread-168:
Traceback (most recent call last):
  File "C:\Program Files\Python37\lib\threading.py", line 917, in _bootstrap_inner
    self.run()
  File "C:\Program Files\Python37\lib\threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "c:/Users/pc/Desktop/xmly/download.py", line 112, in download_m4a
    data = requests.get(url, verify=False).content
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 516, in
request
    prep = self.prepare_request(req)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 459, in
prepare_request
    hooks=merge_hooks(request.hooks, self.hooks),
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 314, in prepare
    self.prepare_url(url, params)
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 388, in prepare_url
    raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?

接口2
Exception in thread Thread-169:
Traceback (most recent call last):
  File "C:\Program Files\Python37\lib\threading.py", line 917, in _bootstrap_inner
    self.run()
  File "C:\Program Files\Python37\lib\threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "c:/Users/pc/Desktop/xmly/download.py", line 112, in download_m4a
    data = requests.get(url, verify=False).content
  File "C:\Program Files\Python37\lib\site-packages\requests\api.py", line 76, in get
    return request('get', url, params=params, **kwargs)
t    return session.request(method=method, url=url, **kwargs)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 516, in
request
    prep = self.prepare_request(req)
  File "C:\Program Files\Python37\lib\site-packages\requests\sessions.py", line 459, in
prepare_request
    hooks=merge_hooks(request.hooks, self.hooks),
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 314, in prepare    self.prepare_url(url, params)
  File "C:\Program Files\Python37\lib\site-packages\requests\models.py", line 388, in prepare_url    raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'None': No schema supplied. Perhaps you meant http://None?
请问大家这个问题怎么解决?

发帖前要善用论坛搜索功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。

蚯蚓翔龙 发表于 2020-10-3 23:42
看下url传的是什么值

至少把源码帖点吧 不然是看异常猜bug?
eWVhaA 发表于 2020-10-3 23:46
春落秋开 发表于 2020-10-3 23:55
悟空子小 发表于 2020-10-4 10:04
不懂帮顶不懂帮顶
您需要登录后才可以回帖 登录 | 注册[Register]

本版积分规则

返回列表

RSS订阅|小黑屋|处罚记录|联系我们|吾爱破解 - LCG - LSG ( 京ICP备16042023号 | 京公网安备 11010502030087号 )

GMT+8, 2025-1-16 05:34

Powered by Discuz!

Copyright © 2001-2020, Tencent Cloud.

快速回复 返回顶部 返回列表