soruly / trace.moe

Anime Scene Search by Image

Home Page:https://trace.moe

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How do I get the video?

sawa-ko opened this issue · comments

I try to generate the url but the "start" and "end" properties are missing, the api does not give them therefore I cannot generate the video

image

The website doesn't use the same API, please don't use the website's HTTP request as reference. You cannot specify the start / end param for that. All you need is ?t=

@soruly Why can't I get the video?
This is the url that I try to put:

https://trace.moe/1374/強殖装甲ガイバー  第23話 「殲滅の光芒 ( Ray of Annihilation )」[BDrip X264 AAC 720P].mp4?t=996.83&token=_PUz-qQ8WYwsxs9wtvcCMw

These are the data that I obtain and use:

    {
      "from": 996.83,
      "to": 996.92,
      "anilist_id": 1374,
      "at": 996.92,
      "season": "2005-07",
      "anime": "強殖裝甲",
      "filename": "強殖装甲ガイバー  第23話 「殲滅の光芒 ( Ray of Annihilation )」[BDrip X264 AAC 720P].mp4",
      "episode": 23,
      "tokenthumb": "_PUz-qQ8WYwsxs9wtvcCMw",
      "similarity": 0.8077645720471075,
      "title": "強殖装甲ガイバー",
      "title_native": "強殖装甲ガイバー",
      "title_chinese": "強殖裝甲",
      "title_english": "Guyver: Bioboosted Armor",
      "title_romaji": "Kyoushoku Soukou Guyver (2005)",
      "mal_id": 1374,
      "synonyms": 
      [
        "Guyver: The Bio-boosted Armor"
      ],
      "synonyms_chinese": 
      [
        "強殖裝甲凱普"
      ],
      "is_adult": false
    },

But I get error 403, I don't know how I would have to compose the url to get the video or if this is how I should do it
image

You're using the wrong API endpoint, please read

https://soruly.github.io/trace.moe/

Oh perfect i get it, is there a way to prevent nsfw content from appearing?

You need to filter the search result by is_adult yourself

Thanks for the help, everything has been clear to me.