diff --git a/p.txt b/p.txt new file mode 100644 index 0000000..e69de29 diff --git a/updater.py b/updater.py index 739f185..52ca2ca 100755 --- a/updater.py +++ b/updater.py @@ -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']) diff --git a/webhook/.index.php.swp b/webhook/.index.php.swp new file mode 100644 index 0000000..fdfaabc Binary files /dev/null and b/webhook/.index.php.swp differ