mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-10-22 18:56:08 +03:00
[search engine] Fix novaprinter.py version number
This commit is contained in:
parent
bc97208516
commit
d7ffabe7ca
8 changed files with 40 additions and 55 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
#VERSION: 1.40
|
||||||
|
|
||||||
|
# Author:
|
||||||
|
# Christophe DUMEZ (chris@qbittorrent.org)
|
||||||
|
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
# modification, are permitted provided that the following conditions are met:
|
# modification, are permitted provided that the following conditions are met:
|
||||||
#
|
#
|
||||||
|
@ -22,11 +27,6 @@
|
||||||
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
# POSSIBILITY OF SUCH DAMAGE.
|
# POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
#VERSION: 1.40
|
|
||||||
|
|
||||||
# Author:
|
|
||||||
# Christophe DUMEZ (chris@qbittorrent.org)
|
|
||||||
|
|
||||||
import re, htmlentitydefs
|
import re, htmlentitydefs
|
||||||
import tempfile
|
import tempfile
|
||||||
import os
|
import os
|
||||||
|
|
|
@ -1,5 +1,13 @@
|
||||||
#!/usr/bin/env python
|
#VERSION: 1.40
|
||||||
# -*- coding: utf-8 -*-
|
|
||||||
|
# Author:
|
||||||
|
# Fabien Devaux <fab AT gnux DOT info>
|
||||||
|
# Contributors:
|
||||||
|
# Christophe Dumez <chris@qbittorrent.org> (qbittorrent integration)
|
||||||
|
# Thanks to gab #gcu @ irc.freenode.net (multipage support on PirateBay)
|
||||||
|
# Thanks to Elias <gekko04@users.sourceforge.net> (torrentreactor and isohunt search engines)
|
||||||
|
#
|
||||||
|
# Licence: BSD
|
||||||
|
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
# modification, are permitted provided that the following conditions are met:
|
# modification, are permitted provided that the following conditions are met:
|
||||||
|
@ -25,18 +33,6 @@
|
||||||
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
# POSSIBILITY OF SUCH DAMAGE.
|
# POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
|
|
||||||
#VERSION: 1.40
|
|
||||||
|
|
||||||
# Author:
|
|
||||||
# Fabien Devaux <fab AT gnux DOT info>
|
|
||||||
# Contributors:
|
|
||||||
# Christophe Dumez <chris@qbittorrent.org> (qbittorrent integration)
|
|
||||||
# Thanks to gab #gcu @ irc.freenode.net (multipage support on PirateBay)
|
|
||||||
# Thanks to Elias <gekko04@users.sourceforge.net> (torrentreactor and isohunt search engines)
|
|
||||||
#
|
|
||||||
# Licence: BSD
|
|
||||||
|
|
||||||
import urllib
|
import urllib
|
||||||
from os import path
|
from os import path
|
||||||
from glob import glob
|
from glob import glob
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#!/usr/bin/env python
|
#VERSION: 1.20
|
||||||
# -*- coding: utf-8 -*-
|
|
||||||
|
# Author:
|
||||||
|
# Christophe DUMEZ (chris@qbittorrent.org)
|
||||||
|
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
# modification, are permitted provided that the following conditions are met:
|
# modification, are permitted provided that the following conditions are met:
|
||||||
|
@ -25,11 +27,6 @@
|
||||||
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
# POSSIBILITY OF SUCH DAMAGE.
|
# POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
#VERSION: 1.20
|
|
||||||
|
|
||||||
# Author:
|
|
||||||
# Christophe DUMEZ (chris@qbittorrent.org)
|
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
import glob
|
import glob
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#VERSION: 1.43
|
#VERSION: 1.45
|
||||||
|
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
# modification, are permitted provided that the following conditions are met:
|
# modification, are permitted provided that the following conditions are met:
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
#VERSION: 1.40
|
||||||
|
|
||||||
|
# Author:
|
||||||
|
# Christophe DUMEZ (chris@qbittorrent.org)
|
||||||
|
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
# modification, are permitted provided that the following conditions are met:
|
# modification, are permitted provided that the following conditions are met:
|
||||||
#
|
#
|
||||||
|
@ -22,11 +27,6 @@
|
||||||
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
# POSSIBILITY OF SUCH DAMAGE.
|
# POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
#VERSION: 1.40
|
|
||||||
|
|
||||||
# Author:
|
|
||||||
# Christophe DUMEZ (chris@qbittorrent.org)
|
|
||||||
|
|
||||||
import re, html.entities
|
import re, html.entities
|
||||||
import tempfile
|
import tempfile
|
||||||
import os
|
import os
|
||||||
|
|
|
@ -1,5 +1,13 @@
|
||||||
#!/usr/bin/env python
|
#VERSION: 1.40
|
||||||
# -*- coding: utf-8 -*-
|
|
||||||
|
# Author:
|
||||||
|
# Fabien Devaux <fab AT gnux DOT info>
|
||||||
|
# Contributors:
|
||||||
|
# Christophe Dumez <chris@qbittorrent.org> (qbittorrent integration)
|
||||||
|
# Thanks to gab #gcu @ irc.freenode.net (multipage support on PirateBay)
|
||||||
|
# Thanks to Elias <gekko04@users.sourceforge.net> (torrentreactor and isohunt search engines)
|
||||||
|
#
|
||||||
|
# Licence: BSD
|
||||||
|
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
# modification, are permitted provided that the following conditions are met:
|
# modification, are permitted provided that the following conditions are met:
|
||||||
|
@ -25,18 +33,6 @@
|
||||||
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
# POSSIBILITY OF SUCH DAMAGE.
|
# POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
|
|
||||||
#VERSION: 1.40
|
|
||||||
|
|
||||||
# Author:
|
|
||||||
# Fabien Devaux <fab AT gnux DOT info>
|
|
||||||
# Contributors:
|
|
||||||
# Christophe Dumez <chris@qbittorrent.org> (qbittorrent integration)
|
|
||||||
# Thanks to gab #gcu @ irc.freenode.net (multipage support on PirateBay)
|
|
||||||
# Thanks to Elias <gekko04@users.sourceforge.net> (torrentreactor and isohunt search engines)
|
|
||||||
#
|
|
||||||
# Licence: BSD
|
|
||||||
|
|
||||||
import urllib.parse
|
import urllib.parse
|
||||||
from os import path, cpu_count
|
from os import path, cpu_count
|
||||||
from glob import glob
|
from glob import glob
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
#!/usr/bin/env python
|
#VERSION: 1.20
|
||||||
# -*- coding: utf-8 -*-
|
|
||||||
|
# Author:
|
||||||
|
# Christophe DUMEZ (chris@qbittorrent.org)
|
||||||
|
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
# modification, are permitted provided that the following conditions are met:
|
# modification, are permitted provided that the following conditions are met:
|
||||||
|
@ -25,11 +27,6 @@
|
||||||
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
# POSSIBILITY OF SUCH DAMAGE.
|
# POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
#VERSION: 1.20
|
|
||||||
|
|
||||||
# Author:
|
|
||||||
# Christophe DUMEZ (chris@qbittorrent.org)
|
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
import os
|
import os
|
||||||
import glob
|
import glob
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#VERSION: 1.44
|
#VERSION: 1.45
|
||||||
|
|
||||||
# Redistribution and use in source and binary forms, with or without
|
# Redistribution and use in source and binary forms, with or without
|
||||||
# modification, are permitted provided that the following conditions are met:
|
# modification, are permitted provided that the following conditions are met:
|
||||||
|
@ -24,7 +24,6 @@
|
||||||
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
# POSSIBILITY OF SUCH DAMAGE.
|
# POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
|
|
||||||
def prettyPrinter(dictionary):
|
def prettyPrinter(dictionary):
|
||||||
dictionary['size'] = anySizeToBytes(dictionary['size'])
|
dictionary['size'] = anySizeToBytes(dictionary['size'])
|
||||||
outtext = "|".join((dictionary["link"], dictionary["name"].replace("|", " "), str(dictionary["size"]), str(dictionary["seeds"]), str(dictionary["leech"]), dictionary["engine_url"]))
|
outtext = "|".join((dictionary["link"], dictionary["name"].replace("|", " "), str(dictionary["size"]), str(dictionary["seeds"]), str(dictionary["leech"]), dictionary["engine_url"]))
|
||||||
|
|
Loading…
Reference in a new issue