Fixed magnet generation process.

This commit is contained in:
Alexandr
2018-02-07 13:32:29 +01:00
parent 493c68ff67
commit b0041e8ae7
3 changed files with 1 additions and 1 deletions

0
p.txt Normal file
View File

View File

@ -49,7 +49,7 @@ def check_updates(id, u_date, cursor):
line='Notifying user',
user_id=contact['user_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'],
'https://rutracker.org/forum/viewtopic.php?t='+id,
data['result'][id]['info_hash'])

BIN
webhook/.index.php.swp Normal file

Binary file not shown.