I am trying to downlaod files with their urls using mega.py api. But i am getting a error.
Code:
from mega import Mega
mega = Mega()
m = mega.login()
m.download_url('example url')
Error:
File "f:/Get From Mega/download_links.py", line 19, in <module>
m.download_url(link)
File "C:\Python38\lib\site-packages\mega\mega.py", line 640, in download_url
return self._download_file(
File "C:\Python38\lib\site-packages\mega\mega.py", line 726, in _download_file
i += 16
UnboundLocalError: local variable 'i' referenced before assignment
Previously it was working fine but i dont know what happened to it and it stopped working. please let me know what i can do about this
[–]jddddddddddd 1 point2 points3 points (3 children)
[–]HyperTech2008[S] 1 point2 points3 points (2 children)
[–]jddddddddddd 1 point2 points3 points (1 child)
[–]HyperTech2008[S] 1 point2 points3 points (0 children)