Browse Source

Merge pull request #3282 from ngosang/search_check

[search engine] Fix novaprinter.py version number
adaptive-webui-19844
sledgehammer999 10 years ago
parent
commit
9d97c05889
  1. 10
      src/searchengine/nova/helpers.py
  2. 24
      src/searchengine/nova/nova2.py
  3. 11
      src/searchengine/nova/nova2dl.py
  4. 2
      src/searchengine/nova/novaprinter.py
  5. 10
      src/searchengine/nova3/helpers.py
  6. 24
      src/searchengine/nova3/nova2.py
  7. 11
      src/searchengine/nova3/nova2dl.py
  8. 3
      src/searchengine/nova3/novaprinter.py

10
src/searchengine/nova/helpers.py

@ -1,3 +1,8 @@ @@ -1,3 +1,8 @@
#VERSION: 1.40
# Author:
# Christophe DUMEZ (chris@qbittorrent.org)
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
@ -22,11 +27,6 @@ @@ -22,11 +27,6 @@
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#VERSION: 1.40
# Author:
# Christophe DUMEZ (chris@qbittorrent.org)
import re, htmlentitydefs
import tempfile
import os

24
src/searchengine/nova/nova2.py

@ -1,5 +1,13 @@ @@ -1,5 +1,13 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#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
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
@ -25,18 +33,6 @@ @@ -25,18 +33,6 @@
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# 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
from os import path
from glob import glob

11
src/searchengine/nova/nova2dl.py

@ -1,5 +1,7 @@ @@ -1,5 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#VERSION: 1.20
# Author:
# Christophe DUMEZ (chris@qbittorrent.org)
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
@ -25,11 +27,6 @@ @@ -25,11 +27,6 @@
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#VERSION: 1.20
# Author:
# Christophe DUMEZ (chris@qbittorrent.org)
import sys
import os
import glob

2
src/searchengine/nova/novaprinter.py

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
#VERSION: 1.43
#VERSION: 1.45
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:

10
src/searchengine/nova3/helpers.py

@ -1,3 +1,8 @@ @@ -1,3 +1,8 @@
#VERSION: 1.40
# Author:
# Christophe DUMEZ (chris@qbittorrent.org)
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
@ -22,11 +27,6 @@ @@ -22,11 +27,6 @@
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#VERSION: 1.40
# Author:
# Christophe DUMEZ (chris@qbittorrent.org)
import re, html.entities
import tempfile
import os

24
src/searchengine/nova3/nova2.py

@ -1,5 +1,13 @@ @@ -1,5 +1,13 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#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
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
@ -25,18 +33,6 @@ @@ -25,18 +33,6 @@
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# 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
from os import path, cpu_count
from glob import glob

11
src/searchengine/nova3/nova2dl.py

@ -1,5 +1,7 @@ @@ -1,5 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#VERSION: 1.20
# Author:
# Christophe DUMEZ (chris@qbittorrent.org)
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
@ -25,11 +27,6 @@ @@ -25,11 +27,6 @@
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
#VERSION: 1.20
# Author:
# Christophe DUMEZ (chris@qbittorrent.org)
import sys
import os
import glob

3
src/searchengine/nova3/novaprinter.py

@ -1,4 +1,4 @@ @@ -1,4 +1,4 @@
#VERSION: 1.44
#VERSION: 1.45
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
# POSSIBILITY OF SUCH DAMAGE.
def prettyPrinter(dictionary):
dictionary['size'] = anySizeToBytes(dictionary['size'])
outtext = "|".join((dictionary["link"], dictionary["name"].replace("|", " "), str(dictionary["size"]), str(dictionary["seeds"]), str(dictionary["leech"]), dictionary["engine_url"]))

Loading…
Cancel
Save