mirror of
https://github.com/rembo10/headphones.git
synced 2026-07-13 12:34:01 +01:00
rutracker search provider
Added rutracker as a torrent search provider. BeautifulSoup 4 needs to be installed to parse the results.
This commit is contained in:
@@ -302,6 +302,19 @@ m<%inherit file="base.html"/>
|
||||
<input type="text" name="waffles_passkey" value="${config['waffles_passkey']}" size="36">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row checkbox">
|
||||
<input id="userutracker" type="checkbox" name="rutracker" onclick="initConfigCheckbox($(this));" value="1" ${config['use_rutracker']} /><label>rutracker.org</label>
|
||||
</div>
|
||||
<div class="config">
|
||||
<div class="row">
|
||||
<label>rutracker User Name: </label>
|
||||
<input type="text" name="rutracker_user" value="${config['rutracker_user']}" size="36">
|
||||
</div>
|
||||
<div class="row">
|
||||
<label>rutracker Password: </label>
|
||||
<input type="text" name="rutracker_password" value="${config['rutracker_password']}" size="36">
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
</td>
|
||||
@@ -923,6 +936,7 @@ m<%inherit file="base.html"/>
|
||||
initConfigCheckbox("#usenewzbin");
|
||||
initConfigCheckbox("#usenzbsorg");
|
||||
initConfigCheckbox("#usewaffles");
|
||||
initConfigCheckbox("#userutracker");
|
||||
initConfigCheckbox("#useblackhole");
|
||||
initConfigCheckbox("#useapi");
|
||||
}
|
||||
|
||||
@@ -45,6 +45,8 @@
|
||||
fileid = 'nzb'
|
||||
if item['URL'].find('torrent') != -1:
|
||||
fileid = 'torrent'
|
||||
if item['URL'].find('rutracker') != -1:
|
||||
fileid = 'torrent'
|
||||
%>
|
||||
<tr class="grade${grade}">
|
||||
<td id="dateadded">${item['DateAdded']}</td>
|
||||
|
||||
Reference in New Issue
Block a user