Browse Source

[enh] general torrent search with piratebay

asciimoo 11 years ago
parent
commit
2d179c4cf6
1 changed files with 1 additions and 0 deletions
  1. 1 0
      searx/engines/piratebay.py

+ 1 - 0
searx/engines/piratebay.py

@@ -9,6 +9,7 @@ url = 'https://thepiratebay.se/'
 search_url = url + 'search/{search_term}/0/99/{search_type}'
 search_url = url + 'search/{search_term}/0/99/{search_type}'
 search_types = {'videos': '200'
 search_types = {'videos': '200'
                ,'music' : '100'
                ,'music' : '100'
+               ,'files' : '0'
                }
                }
 
 
 def request(query, params):
 def request(query, params):