Skip to content

Latest commit

 

History

15 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Credits

Thanks to sidward35 for the code to get the watchlist from Letterboxd.

Taken from this project.

MagnetBox

Automatically find and download torrents through a Letterboxd users watchlist using 1337x and qBittorrent, in Python.

The code is not great and it's not meant to be easily extendable. Just a quick hacky codebase to make it more convenient for me to download stuff to my media server.

Requirements

  • qBitTorrent
  • Python 3.13.1

Python Requirements

  • py1337x
  • qbittorrent-api
  • colorama
  • beautifulsoup4

Install

  1. Clone repository and enter folder:
git clone https://github.com/affeltrucken/MagnetBox; cd MagnetBox

  1. Install requirements:
pip install -r requirements.txt
  1. Make sure you enable Web-UI in qBitTorrent to allow automatic downloads:
  • Open qBitTorrent
  • Tools
  • Options
  • Web UI
  • Web User Interface (Remote control)
  • Change Password (if needed)

  1. Edit configuration in magnetbox.py:

    Change the default Letterboxd username, save location, and qBitTorrent credentials as needed.

### CONFIGURATION ###
LETTERBOXD_USERNAME = "aldinsmajlovic"
MAX_TORRENT_SIZE_GB = 15.0

QBITTORRENT_HOST = "localhost"
QBITTORRENT_PORT = 8080
QBITTORRENT_USERNAME = "admin"
QBITTORRENT_PASSWORD = "password"
AUTHENTICATION_REQUIRED = False
TORRENT_CATEGORY_NAME = "MagnetBox"

TORRENT_SAVE_PATH = "D:/PLEX/MOVIES"
MAGNET_FILE = "saved_magnets.txt"
ALLOW_DUPLICATE_MAGNETS = False  # Set to True to add even if already saved
### END CONFIGURATION ###

  1. Run script:
python magnetbox.py

Script should then get your watchlist, find the best torrent for each movie, and download them through qBitTorrent to the earlier specified save location.

script

Contributions

Feel free to add functionality, improve the code, fix bugs, etc.

About

Automatically download torrents through Letterboxd users watchlist

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages