Closed sanderjo closed 4 years ago
Easy reproduction with the usual one-liner format:
$ python3 -X dev -X tracemalloc=5 -c "import sabnzbd.urlgrabber; print(sabnzbd.urlgrabber._build_request('https://sabnzbd.org/tests/test_download_100MB.nzb'))"
/home/sander/git/sabbie-2mei-nogeenkeer/sabnzbd/urlgrabber.py:328: DeprecationWarning: urllib.parse.splittype() is deprecated as of 3.8, use urllib.parse.urlparse() instead
urltype, rest = urllib.parse.splittype(url)
/home/sander/git/sabbie-2mei-nogeenkeer/sabnzbd/urlgrabber.py:329: DeprecationWarning: urllib.parse.splithost() is deprecated as of 3.8, use urllib.parse.urlparse() instead
realhost, rest = urllib.parse.splithost(rest)
/home/sander/git/sabbie-2mei-nogeenkeer/sabnzbd/urlgrabber.py:331: DeprecationWarning: urllib.parse.splituser() is deprecated as of 3.8, use urllib.parse.urlparse() instead
user_passwd, realhost = urllib.parse.splituser(realhost)
<http.client.HTTPResponse object at 0x7fdab4f66190>
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I think I can solve this one myself.