Skip to content

list index out of range #35

@Sciberrasluke

Description

@Sciberrasluke

Can't download torrents with many large files, also is there a way to run locally so that I'm not bound by colab's restrictions?


IndexError Traceback (most recent call last)
in ()
64 'storage_mode': lt.storage_mode_t(2),
65 }
---> 66 download_torrent()
67
68 print('\nALL DONE!')

in download_torrent()
29 state_str = ['queued', 'checking', 'downloading metadata',
30 'downloading', 'finished', 'seeding', 'allocating']
---> 31 print('%.2f%% complete (down: %.1f kb/s up: %.1f kB/s peers: %d) %s ' % (s.progress * 100, s.download_rate / 1000, s.upload_rate / 1000, s.num_peers, state_str[s.state]))
32 time.sleep(5)
33

IndexError: list index out of range

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions