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 View File

9
 search_url = url + 'search/{search_term}/0/99/{search_type}'
9
 search_url = url + 'search/{search_term}/0/99/{search_type}'
10
 search_types = {'videos': '200'
10
 search_types = {'videos': '200'
11
                ,'music' : '100'
11
                ,'music' : '100'
12
+               ,'files' : '0'
12
                }
13
                }
13
 
14
 
14
 def request(query, params):
15
 def request(query, params):