in <module>
s=requests.get('https:/sinoptik.com.ru/погода-москва')
File "/data/data/com.termux/files/usr/lib/python3.6/site-packages/requests/api.py", line 72, in get
return request('get', url, params=params, kwargs)
File "/data/data/com.termux/files/usr/lib/python3.6/site-packages/requests/api.py", line 58, in request
return session.request(method=method, url=url, kwargs)
File "/data/data/com.termux/files/usr/lib/python3.6/site-packages/requests/sessions.py", line 494, in request
prep = self.prepare_request(req)
File "/data/data/com.termux/files/usr/lib/python3.6/site-packages/requests/sessions.py", line 437, in prepare_request
hooks=merge_hooks(request.hooks, self.hooks),
File "/data/data/com.termux/files/usr/lib/python3.6/site-packages/requests/models.py", line 305, in prepare
self.prepare_url(url, params)
File "/data/data/com.termux/files/usr/lib/python3.6/site-packages/requests/models.py", line 379, in prepare_url
raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL 'https:/sinoptik.com.ru/погода-москва': No schema supplied. Perhaps you meant http://https:/sinoptik.com.ru/погода-москва?
[Process completed (code 1) - press Enter]
Почему сыпит ошибки? Чего ему не хватает?
прочитай текст ошибки внизу, там все написано
Обсуждают сегодня