Git Product home page Git Product logo

search-plugins's Introduction

Search Plugins

GitHub Actions CI Status

This repository contains search plugins for the search feature in qBittorrent.

⚠️ We removed support for Python 2. Please, upgrade to Python 3 to continue using the search function.

Jackett search plugin is enabled by default but you have to install an external program to make it work. You can disable the Jackett search plugin or install Jackett.

Most probably, you want to head over to the wiki:

Everyone is welcome to submit PRs that fix problems or add new plugins.

This repository isn't managed by the core team directly. Its purpose is to allow a place where 3rd party contributors can gather and submit their plugins.

Use the plugins and the websites they refer to at your own risk. You are personally responsible for following your country's copyright laws.

search-plugins's People

Contributors

chocobo1 avatar dependabot[bot] avatar giladger avatar ngosang avatar nindogo avatar piccirello avatar pinkd avatar sledgehammer999 avatar xavier2k6 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

search-plugins's Issues

helper_functions requests

Hi,

is there an equivalent for download_files for magnet links; alternatively if it is possible please advise on how to use the current helpers to provide magnet_links

Sumo

The SumoTorrent v130 plugin appears to be broke, it will propagate the search window but won't download. Thanks.

Change sorting behavior

Is there an easy way to change the sorting behavior to the latest posted to the oldest posted?
or do I need to go over all of the plug ins and change them manually?

Search results showing 0 seeders and 0 leechers across the board

Please provide the following information:

qBittorrent version and Operating System:
V. 4.1.3 (64-bit), Mac OS High Sierra

What is the problem?
All searches result in 0 seeds, 0 leechers.

What is the expected behavior?
For popular downloads, should be getting hundreds of seeders, but all of my search results, for many different search strings, result in 0 seeders, 0 leechers.

Steps to reproduce:
qBittorrent was working fine. However, three separate things happened between when it worked and when it didn't. 1) I updated to v. 4.1.3. 2) I tried turning on FileVault, but then turned it off a few days later (don't ask me why, I guess I was just curious). 3) I tried turning on the built-in firewall, but then turned it off a few days later (Again, don't ask my why--shouldn't have experimented). I changed zero settings in either FileVault or Firewall settings. I have no idea which of these three things, or which combination of things, has caused my problem. Anyone have any idea where to look to see if something is blocking qBittorrent from communicating with seeders/leechers?

Log:
2018-10-06 7:09 PM - 'The Hobbit The Battle Of The Five Armies 2014 720p HDCAM FIRST ENG x264 Pimp4003' added to download list.
2018-10-06 7:09 PM - Download first and last piece first: Off, torrent: 'The Hobbit The Battle Of The Five Armies 2014 720p HDCAM FIRST ENG x264 Pimp4003'
2018-10-06 6:51 PM - Python found in PATH: /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
2018-10-06 6:51 PM - Python detected, version: 2.7.10

Snip:
image

Issue with new engine - not working uniondht.py

Hi,

I have made this search plugin.

  • The page has a bad certificate and also it uses cp1251. It also makes the torrent an attachment rather than inline.
  • I saw that retrieve_url() did not handle the fonts well so I wrote my own for this. (The character encoding is recorded in the html meta not in the http headers.
  • Same thing with prettyprinter() functionality - I emulated it's functioning as far as I could (save in a temporary file and print it and the desc_link to the terminal.
  • Thing is no matter what I do - qBittorrent does not then load the .torrent file.
    Could you please assist me and look at what I may have done wrong.

Include new search plugins as official

After removing torrentz2 and demonoid, we have few official plugins.
I don't have much free time as I had in the past but I can review and merge small PRs.

The following sites are very popular, secure and stable so hopefully we don't have to update the plugins very often:

I know @v1k45 is the original author for 1337x plugin and @nindogo forked it. I don't know who is more active so I asked both, please don't open 2 PRs 😄

@Chocobo1 @b0nk @nindogo @v1k45

btdb address changed

BTDB moved to the new domain BTDB.to after website’s main domain BTDB.in has been put on “clientHold” by the registrar.

how to

how am i supposed to save these .py "files" ? the tutorial doesnt show how to do it, but it shows how to open a file in a program... i dont understand that. figure out the hard part on your own but we will show you the part that everybody knows. what do i save and how do i save it??

Errors attempting to install Official Search plug-ins

Apologies in advance, I am new here (as of today) so maybe I am just doing something wrong. I am running qBittorrent 4.0.1 64-bit on a Windows 10 machine. I was able to install a dozen or so "unofficial" plug-ins with no problem, so I do know some of them work.

Steps to recreate:

  1. Download offical search plugin .py files from master
  2. Open qBT 4.0.1 client and click on Search tab
  3. Click the Search Plug-ins button
  4. Click "Install a New one"
  5. Click "local file"
  6. Select a plug-in that was downloaded
    The following error is displayed: Couldn't install "piratebay" search engine plug-in. Plug-in is not supported

qBittorrent search not working (Mac OS 10.14.2)

I'm having issues getting any search results to show up. I just upgraded to qBittorrent 4.1.5 and I installed a number of plugins. When I enter my search criteria, nothing shows up (depending on which plugins I enable, it either sits there indefinitely with no results, or it goes quickly to the orange "no results" triangle).

This issue persists whether or not I use a VPN. And my qBittorrent preferences are pretty much defaults. Other than this search issue, qBittorrent works fine.

It's odd because when I actually go to the trackers' websites, the same searches yield plenty of results.

I had similar issues with previous versions of 4.1... ever since I upgraded my Mac OS to Mojave I've had issues (even after uninstalling and reinstalling qBittorrent a number of times, even going back to old versions).

Issues with testing eztv proposed plugin

Hi,

I am new to programming - and also perl - so I am trying to teach myself how to code with one or two search engine plugins.

I have written this which I hope is an acceptable plugin.

`>>> from eztv import eztv

x = eztv
x.search(x,'nascar','tv')
DEBUG:root:Searching
Connection error: Origin Error
x.search(x,'nascar','tv')
DEBUG:root:Searching
magnet:?xt=urn:btih:WGTOXLT7EUNHNHEPWOB6GRBLLNPLMANE&dn=Undercover.Boss.US.S02E05.Nascar.HDTV.XviD-2HD&tr=udp://tracker.openbittorrent.com:80&tr=udp://open.demonii.com:80&tr=udp://tracker.coppersurfer.tk:80&tr=udp://tracker.leechers-paradise.org:6969&tr=udp://exodus.desync.com:6969|Undercover Boss US S02E05 Nascar HDTV XviD-2HD|366403911|0|-1|https://eztv.ag|https://eztv.ag/ep/23424/undercover-boss-us-s02e05-nascar-hdtv-xvid-2hd/
magnet:?xt=urn:btih:WGTOXLT7EUNHNHEPWOB6GRBLLNPLMANE&dn=Undercover.Boss.US.S02E05.Nascar.HDTV.XviD-2HD&tr=udp://tracker.openbittorrent.com:80&tr=udp://open.demonii.com:80&tr=udp://tracker.coppersurfer.tk:80&tr=udp://tracker.leechers-paradise.org:6969&tr=udp://exodus.desync.com:6969|Undercover Boss US S02E05 Nascar HDTV XviD-2HD|-1|0|-1|https://eztv.ag|https://eztv.ag/ep/23424/undercover-boss-us-s02e05-nascar-hdtv-xvid-2hd/
magnet:?xt=urn:btih:WGTOXLT7EUNHNHEPWOB6GRBLLNPLMANE&dn=Undercover.Boss.US.S02E05.Nascar.HDTV.XviD-2HD&tr=udp://tracker.openbittorrent.com:80&tr=udp://open.demonii.com:80&tr=udp://tracker.coppersurfer.tk:80&tr=udp://tracker.leechers-paradise.org:6969&tr=udp://exodus.desync.com:6969|Undercover Boss US S02E05 Nascar HDTV XviD-2HD|-1|0|-1|https://eztv.ag|https://eztv.ag/ep/23424/undercover-boss-us-s02e05-nascar-hdtv-xvid-2hd/
magnet:?xt=urn:btih:WGTOXLT7EUNHNHEPWOB6GRBLLNPLMANE&dn=Undercover.Boss.US.S02E05.Nascar.HDTV.XviD-2HD&tr=udp://tracker.openbittorrent.com:80&tr=udp://open.demonii.com:80&tr=udp://tracker.coppersurfer.tk:80&tr=udp://tracker.leechers-paradise.org:6969&tr=udp://exodus.desync.com:6969|Undercover Boss US S02E05 Nascar HDTV XviD-2HD|-1|0|-1|https://eztv.ag|https://eztv.ag/ep/23424/undercover-boss-us-s02e05-nascar-hdtv-xvid-2hd/
magnet:?xt=urn:btih:WGTOXLT7EUNHNHEPWOB6GRBLLNPLMANE&dn=Undercover.Boss.US.S02E05.Nascar.HDTV.XviD-2HD&tr=udp://tracker.openbittorrent.com:80&tr=udp://open.demonii.com:80&tr=udp://tracker.coppersurfer.tk:80&tr=udp://tracker.leechers-paradise.org:6969&tr=udp://exodus.desync.com:6969|Undercover Boss US S02E05 Nascar HDTV XviD-2HD|-1|0|-1`

It runs when I call it from the terminal/IDLE but it does not work in my test with nova2.

Kindly advise what I may have missed?

Remove demonoid from versions.txt

Updating the search scripts on qBT always throws an error (404) regarding demonoid script.

In this commit you erased the script but in versions.txt 'demonoid' is still referenced.
6378c4d

couldn't check for plugin updates

qbittorrent is reporting when the update plugins button is pressed that the update server is unavailable. This has been like this for a while.

on xubuntu 17.04

Add another parsing method

Often desired information in a web site, are grouped under class name. For example in some site a list of torrent are a list of div with a particular class. So in some case it would be better to find elements by ID, ClassName or by Type instead of parsing page with the standard html parser and using various flags or variable to remember the state during parsing.

The question is, what about adding another parsing method? Something like jQuery, maybe pyquery or BeautifulSoup:
https://pythonhosted.org/pyquery/
https://www.crummy.com/software/BeautifulSoup/bs4/doc/

What do you think? @Chocobo1 @sledgehammer999 @Piccirello @zeule @ngosang @hannsen

None of these work

I've tried everything to get these working but none of them work in qbittorrent v.4.04 (Windows 10 64-bit).

BTDB gone and torlock is not safe anymore

@Chocobo1
Ok, I post this issue here too. BTDB doesn't seem to work anymore unfortunately, and torlock does show strange results and the home page has "dating" and other suspicious options. Both the sites should be removed from the search engine. I recommend to add snowfl, limetorrents, and even academictorrents, etree and linuxtracker, since all these sites have 100% free content and this is important since qBt doesn't support piracy, and for the same reason they're unlikely to be shut down. Torrentz2 also should be placed in the unofficial list imho, since it's fake. Ah, a few cosmetic changes to show all the favicons are welcome too.

torrentproject.se plugin broken and 'will not fix'

ignore this for now seems the torrentproject.se writer said that he/she would not fix the kat.cr plugin, not the torrentproject.se.


Unfortunately it seems that the torrentproject.se search plugin no longer works (I discovered that for myself) and that it will not be fixed:

https://github.com/lima66/Torrents_Plugin/issues/3#issuecomment-301850100

So, I guess it has to be removed, even though the captcha mentioned I don't see when interacting with the site through www/html.

The plugin returns results, just nothing happens when those results are clicked on in the search list/dialog

Problems with Window gigantism

schermata da 2018-10-28 11-28-14

Using the search field already from Fedora 28 The window comes out of the desktop on Monitor 1366x768 (16.9), the same problem is re-present on Fedora 29 hiding various buttons and options, please correct so that you can enjoy a correct use of the Software now unusable!!!!

Unofficial plugin for mvgroup.org

As far as I remember, there was a feature batch grabbing all the magnet/torrent links on a web page.
Is it possible to add this feature into the software, if not, can someone create a plug-in for the MVGROUP.org torrents?
Many thanks!

Add torrent hash in search plugins

I'm able to get the torrent hash from most search engines so we can implement these features:

I'm also able to do it in a manner that old plugins (unofficial) still works in new qbittorrent. And the new plugins (with hash support) works in old qbittorrent versions.

I can do the change in search plugins and the change need in novaprinter.py. There is no need to change the c++ code, but would be nice if you add a new column with the hash.
Now, nova2.py returns (desc_link is optional):

link|name|size|seeds|leech|engine_url|**desc_link**

Whit the changes will be (all compulsory, but last 2 can be empty):

link|name|size|seeds|leech|engine_url|desc_link|hash

What do you think? @Chocobo1 @sledgehammer999 @Piccirello @zeule

Library "helpers" in Plugins for search engine

Hello,

I'm trying to install https://raw.githubusercontent.com/ebukari/qbittorrent-plugins/master/kickass.py but it doesn't work on my side. I've tested the code with the provided "main" and I noticed I lack one library called "helpers".


wolfgang@everest:~/Downloads$ python3 kickass.py 
Traceback (most recent call last):
  File "kickass.py", line 11, in <module>
    from helpers import retrieve_url
ModuleNotFoundError: No module named 'helpers'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "kickass.py", line 19, in <module>
    from helpers import retrieve_url
ModuleNotFoundError: No module named 'helpers'

What is this?

Thank you

Remove malicious site kickass-cr.online

This site is malicious, please remove its search engine from the unofficial plugins list.
The "Direct download" button, most of the time, will simply lead to a commercial partner site, which is not the problem. But sometimes it will open a download window for a (presumably malicious) .exe file (and this even if the torrent content is not an .exe file).

Jackett plugin

Plugin I've just finished, using Jackett as the search provider.
I've done a few tests and it seems to work. Give it a try and report back here.
Add your Jacket URL and API key.

#VERSION: 1.0
#AUTHORS: ukharley

from novaprinter import prettyPrinter
from helpers import retrieve_url, download_file
import json

try:
  # python2
  from urllib import urlencode, quote, unquote
except ImportError:
  # python3
  from urllib.parse import urlencode, quote, unquote

class jacket(object):
    """Generic provider for Torznab compatible api."""

    def __init__(self):
        pass

    name = 'Jacket(torznab)'
    url = 'http://127.0.0.1:9117' #default, change to yours
    api_key = '' # add your api key
    supported_categories = {'all'   : '',
                            'movies': '2000',
                            'tv'    : '5000',
                            'music' : '3000',
                            'books' : '8000'
                            }

    def search(self, what, cat='all'):
        cat = cat.lower()
        baseURL = "http://127.0.0.1:9117/api/v2.0/indexers/all/results?%s"
        what = unquote(what)
        category = self.supported_categories[cat]
        if category != '':
            params = urlencode({
            'apikey': self.api_key,
            'Query': what,
            'Category[]': category
        })
        else:
            params = urlencode({
                'apikey': self.api_key,
                'Query': what,
            })

        response = retrieve_url(baseURL % params)
        j = json.loads(response)
        for i in j['Results']:
            tbytes = float(i['Size'])
            size = "-1"

            if tbytes > 1024 * 1024 * 1024:
                size = "%.1f GB" % (tbytes / (1024 * 1024 * 1024))

            elif tbytes > 1024 * 1024:
                size = "%.1f MB" % (tbytes / (1024 * 1024))

            elif tbytes > 1024:
                size = "%.1f KB" % (tbytes / 1024)

            else:
                size = "%.1f B" % (tbytes)

            if i['MagnetUri']:
                res = dict(link=i['MagnetUri'],
                           name=i['Title'],
                           size=size,
                           seeds=i['Seeders'],
                           leech=i['Peers'],
                           engine_url=self.url,
                           desc_link = i['Comments'])
            else:
                res = dict(link=i['Link'],
                           name=i['Title'],
                           size=size,
                           seeds=i['Seeders'],
                           leech=i['Peers'],
                           engine_url=self.url,
                           desc_link=i['Comments'])

            prettyPrinter(res)

if __name__ == "__main__":
    s = jacket()
    s.search("harry potter", 'movies')

Plugins don't appear to be pulling any results

Hi all!

I just wanted to flag that the Kickass, 1337x, and RARBG plugins haven't been pulling any results. I don't have the know-how to fix them, so if anyone else does, I would love to get them up and running.

Thanks!

Search plugins

Why does it some times not load the search plugins, and today I try to reload the plugins and it says they are not compatible

Add page/section for wanted plugins

My idea is to add to the wiki a page where insert interesting site. Then who want's to create plugins could start by picking one site in the list.

Search plugins not working

I've been using a lot of search plugins for a long time. But today suddenly all of them are missing and whenever I try to install a plugin, it says it's incompatible.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.