mirror of
https://github.com/house-of-vanity/tracker_watcher.git
synced 2025-07-07 09:54:08 +00:00
Fixed magnet generation process.
This commit is contained in:
@ -49,7 +49,7 @@ def check_updates(id, u_date, cursor):
|
|||||||
line='Notifying user',
|
line='Notifying user',
|
||||||
user_id=contact['user_id'],
|
user_id=contact['user_id'],
|
||||||
link=id)
|
link=id)
|
||||||
msg = "%s has been updated.\n[Open on RuTracker.org](%s)\n`magnet:?xt=urn:%s`" % (
|
msg = "%s has been updated.\n[Open on RuTracker.org](%s)\n`magnet:?xt=urn:btih:%s`" % (
|
||||||
data['result'][id]['topic_title'],
|
data['result'][id]['topic_title'],
|
||||||
'https://rutracker.org/forum/viewtopic.php?t='+id,
|
'https://rutracker.org/forum/viewtopic.php?t='+id,
|
||||||
data['result'][id]['info_hash'])
|
data['result'][id]['info_hash'])
|
||||||
|
BIN
webhook/.index.php.swp
Normal file
BIN
webhook/.index.php.swp
Normal file
Binary file not shown.
Reference in New Issue
Block a user