Open sagnikpal opened 3 years ago
I am running the code from Jupyter Notebook.
While the filename has fetched the torrent, I am unable to save the torrent to local folder from where the notebook is running.
`from magnet2torrent import Magnet2Torrent, FailedToFetchException
magnet_link = ""
async def fetch_that_torrent(): m2t = Magnet2Torrent(magnet_link) try: filename, torrent_data = await m2t.retrieve_torrent() print(filename) except FailedToFetchException: print("Failed")
await fetch_that_torrent()`
I am running the code from Jupyter Notebook.
While the filename has fetched the torrent, I am unable to save the torrent to local folder from where the notebook is running.
`from magnet2torrent import Magnet2Torrent, FailedToFetchException
magnet_link = ""
async def fetch_that_torrent(): m2t = Magnet2Torrent(magnet_link) try: filename, torrent_data = await m2t.retrieve_torrent() print(filename) except FailedToFetchException: print("Failed")
await fetch_that_torrent()`