Skip to content

Custom scrapper #41

@hkfuertes

Description

@hkfuertes

Hello, First of all! thank you for the app!

I was trying to create my own plugin... I finally understood how to query torrentio and made a simple php script to join torrentio with cinemeta to query directly. this is my url:
http://localhost:8080/torrentio.php?query=poker+face
and this is the returned json:

    {
        "filename": "Poker Face BD1080.atomohd.care.mkv",
        "magnet": "magnet:?xt=urn:btih:2a26a38589968eebdedbf88fb11ef3b281a4e30e",
        "type": "movie",
        "imdb_id": "tt14714980",
        "seeders": 0,
        "size": "10.81GB",
        "source": "Wolfmax4k",
        "hash": "2a26a38589968eebdedbf88fb11ef3b281a4e30e"
    },
...
]

And this is my attempt to do a plugin/source, but its not working, "data is malformed" or something similar... how can I create the plugin?

name: "HK Plugins"
author: "hkfuertes"
sources:
  - name: "Torrentio"
    version: 1
    minVersion: "0.7"
    about: "Torrentio Scrapper"
    website: "http://192.168.88.243:8080"
    tags:
      - name: "Torrentio"
    jsonParser:
      searchUrl: "/torrentio.php?query={query}"
      results: .
      magnetHash: hash
      magnetLink: magnet
      title: filename
      size: size
      sl:
        seeders: seeders
        leechers: seeders

Also, is there any discord/place to see more plugins for the app? maybe a torrentio already done by anyone?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions