Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add strategy for Internet Archive torrents #158

Open
nemobis opened this issue Nov 7, 2021 · 0 comments
Open

Add strategy for Internet Archive torrents #158

nemobis opened this issue Nov 7, 2021 · 0 comments

Comments

@nemobis
Copy link

nemobis commented Nov 7, 2021

The Internet Archive has over 50 million torrent files for as many items.

The trackers are:

The archive.org servers themselves don't seed the torrents over bittorrent, they only provide web seeds. Few torrents will have any seeders at all, but a few have leechers. It would be nice to be able to search the most active ones. Some of the most included torrents include audio or video

You can get the info_hash list from the "btih" field inside the "files" field of the XML metadata of each item, or in JSON with the internetarchive Python utility, ofr instance:

ia search -i "format:bittorrent -format:warc -format:arc -access-restricted-item:true" | xargs -P4 -I§ sh -c "ia metadata § | jello -rl '\
result=[f.btih for f in _.files if f.name.endswith(\"archive.torrent\")]
result' " > ia_all_torrents_btih.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant