Check that remote link is correct

This commit is contained in:
2019-10-23 21:02:48 +02:00
parent 769d4b116c
commit 8eda620078

View File

@ -96,6 +96,10 @@ def filter_updatable_torrents():
keys_to_check.issubset(data.keys()) keys_to_check.issubset(data.keys())
and and
data['local-version'] < data['remote-version'] data['local-version'] < data['remote-version']
and
data['remote-link'].startswith(
'http://www.pleasuredome.org.uk/download.php'
)
): ):
del torrents[torrent] del torrents[torrent]
logging.info( logging.info(