Commit d2b5aab6 authored by echel0n's avatar echel0n
Browse files

Fixed issue with magnet links missing torrent trackers

parent 0ee43307
# Changelog
- * fb43ed6 - 2018-09-20: Added back missing bootstrap-formhelpers library
- * f1b7b77 - 2018-09-20: Fixed issue with magnet links missing torrent trackers
- * 0ee4330 - 2018-09-20: Added back missing bootstrap-formhelpers library
- * ec020ec - 2018-09-20: Pre-Release v9.3.80.dev1
- * bf4e106 - 2018-09-20: Updated remaining ui-icon icons to fontawesome. Fixed issue #260 - removed redundant clear errors and clear warnings button, merged into one button.
- * 5962b54 - 2018-09-20: Added UHD to quality preset ANY. Added quality preset "ANY + Unknown". Added ability to set quality size for unknown qualities.
......
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
......@@ -732,6 +732,8 @@ class TorrentProvider(GenericProvider):
if trackers_list:
# adds public torrent trackers to magnet url
if result.url.startswith('magnet:'):
if not result.url.endswith('&tr='):
result.url += '&tr='
result.url += '&tr='.join(trackers_list)
# adds public torrent trackers to content
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment