Traceback (most recent call last): File "saavndl.py", line 74, in <module> filename = wget.download(dec_url,out=path) File "/data/data/com.termux/files/usr/lib/python3.6/site-packages/wget.py", line 526, in download (tmpfile, headers) = ulib.urlretrieve(binurl, tmpfile, callback) File "/data/data/com.termux/files/usr/lib/python3.6/urllib/request.py", line 248, in urlretrieve with contextlib.closing(urlopen(url, data)) as fp: File "/data/data/com.termux/files/usr/lib/python3.6/urllib/request.py", line 223, in urlopen return opener.open(url, data, timeout) File "/data/data/com.termux/files/usr/lib/python3.6/urllib/request.py", line 532, in open response = meth(req, response) File "/data/data/com.termux/files/usr/lib/python3.6/urllib/request.py", line 642, in http_response 'http', request, response, code, msg, hdrs) File "/data/data/com.termux/files/usr/lib/python3.6/urllib/request.py", line 570, in error return self._call_chain(*args) File "/data/data/com.termux/files/usr/lib/python3.6/urllib/request.py", line 504, in _call_chain result = func(*args) File "/data/data/com.termux/files/usr/lib/python3.6/urllib/request.py", line 650, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 403: Forbidden
I tried changing the user agent but no luck. Any solution?
Traceback (most recent call last): File "saavndl.py", line 74, in <module> filename = wget.download(dec_url,out=path) File "/data/data/com.termux/files/usr/lib/python3.6/site-packages/wget.py", line 526, in download (tmpfile, headers) = ulib.urlretrieve(binurl, tmpfile, callback) File "/data/data/com.termux/files/usr/lib/python3.6/urllib/request.py", line 248, in urlretrieve with contextlib.closing(urlopen(url, data)) as fp: File "/data/data/com.termux/files/usr/lib/python3.6/urllib/request.py", line 223, in urlopen return opener.open(url, data, timeout) File "/data/data/com.termux/files/usr/lib/python3.6/urllib/request.py", line 532, in open response = meth(req, response) File "/data/data/com.termux/files/usr/lib/python3.6/urllib/request.py", line 642, in http_response 'http', request, response, code, msg, hdrs) File "/data/data/com.termux/files/usr/lib/python3.6/urllib/request.py", line 570, in error return self._call_chain(*args) File "/data/data/com.termux/files/usr/lib/python3.6/urllib/request.py", line 504, in _call_chain result = func(*args) File "/data/data/com.termux/files/usr/lib/python3.6/urllib/request.py", line 650, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 403: Forbidden
I tried changing the user agent but no luck. Any solution?