diff --git a/Localization.py b/Localization.py
index 4e60a14..b87393f 100644
--- a/Localization.py
+++ b/Localization.py
@@ -250,6 +250,10 @@ def localize(text):
'But you would have to do it by yourself, there is some info on github.com.':'Но придется это тебе делать самому, на гитхабе была инфа',
'It is NOT possible to compile python-libtorrent for iOS.':'Под iOS невозможно скомпилировать python-libtorrent',
'But you can use torrent-client control functions.':'Но все остальные функции кроме прямого стриминга с торрента работают.',
+ 'I added custom searchers for Torrenter v2!':'Я добавил внешние серчеры для трекеров в стиле Pulsar!',
+ 'Now you can use your login on trackers or write and install your own searcher!':'Теперь можно использовать свой логин или даже написать и установить свой серчер.',
+ 'Would you like to install %s from "MyShows.me Kodi Repo" in Programs section?':'Хотите установить %s из "MyShows.me Kodi Repo" в Программах?',
+ 'Open installation window?':'Открыть окно установки?',
},
'uk': {
'Seeds searching.': 'Йде пошук сідів.',
diff --git a/SearcherABC.py b/SearcherABC.py
index 7803dbf..037c84e 100644
--- a/SearcherABC.py
+++ b/SearcherABC.py
@@ -103,13 +103,13 @@ class SearcherABC:
response = opener.open(url, encodedData)
except urllib2.HTTPError as e:
if e.code == 404:
- print '[makeRequest]: Not Found! HTTP Error, e.code=' + str(e.code)
+ print self.__class__.__name__+' [makeRequest]: Not Found! HTTP Error, e.code=' + str(e.code)
return
elif e.code in [503]:
- print '[makeRequest]: Denied, HTTP Error, e.code=' + str(e.code)
+ print self.__class__.__name__+' [makeRequest]: Denied, HTTP Error, e.code=' + str(e.code)
return
else:
- print '[makeRequest]: HTTP Error, e.code=' + str(e.code)
+ print self.__class__.__name__+' [makeRequest]: HTTP Error, e.code=' + str(e.code)
return
#self.cookieJar.extract_cookies(response, urllib2)
if response.info().get('Content-Encoding') == 'gzip':
diff --git a/functions.py b/functions.py
index 7eb6457..05124d8 100644
--- a/functions.py
+++ b/functions.py
@@ -1766,7 +1766,7 @@ def first_run_230(delete_russian):
Localization.localize('Now you can use your login on trackers or write and install your own searcher!'))
if not delete_russian:
yes=xbmcgui.Dialog().yesno('< %s >' % Localization.localize('Torrenter Update 2.3.0'),
- Localization.localize('Would you like to install %s from "MyShows.me Kodi Repo" in Programs section!') % 'RuTrackerOrg',
+ Localization.localize('Would you like to install %s from "MyShows.me Kodi Repo" in Programs section?') % 'RuTrackerOrg',
Localization.localize('Open installation window?'))
if yes:
xbmc.executebuiltin('XBMC.ActivateWindow(Addonbrowser,addons://search/%s)' % ('Torrenter Searcher'))
diff --git a/resources/searchers/TFileME.py b/resources/searchers/unused/TFileME.py
similarity index 100%
rename from resources/searchers/TFileME.py
rename to resources/searchers/unused/TFileME.py
diff --git a/resources/searchers/unused/ThePirateBaySe.py b/resources/searchers/unused/ThePirateBaySe.py
new file mode 100644
index 0000000..0d23902
--- /dev/null
+++ b/resources/searchers/unused/ThePirateBaySe.py
@@ -0,0 +1,88 @@
+# -*- coding: utf-8 -*-
+'''
+ Torrenter plugin for XBMC
+ Copyright (C) 2012 Vadim Skorba
+ vadim.skorba@gmail.com
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see