Skip to content

Instantly share code, notes, and snippets.

View Khoyo's full-sized avatar

Khoyo

  • Paris, France
  • 20:30 (UTC +02:00)
View GitHub Profile
#!/usr/bin/env python
#
# Find and replace tracker urls in a Deluge torrents.state
#
# Need to edit the variables: orig_tracker_url and new_tracker_url
import os
import sys
import platform
import shutil