alex73630 / Floatplane-Downloader

Floatplane-Downloader is a NodeJS script that allows you to download latest Linus Media Group's Floatplane Club videos from LinusTechTips forums and make them available through a Plex server.
GNU General Public License v3.0
9 stars 2 forks source link

Videos aren't downloaded because the post title is not written with LTT tag #4

Open alex73630 opened 7 years ago

alex73630 commented 7 years ago

Those two posts from Computex coverage are not downloading because they don't have any "type" tag on the title. image

This actually doesn't help because that mean that the script need a no type condition, but I don't know where we could add those videos (we can't randomly put them in LTT category).

An option would be to have a webapp where it shows videos that can't be parsed and give some tools to change metadatas in files.

aiapo commented 7 years ago

Use their API to get the channel by using the GUID: (https://cms.linustechtips.com/get/videos/by_guid/GUIDHERE)

Example output is: {"id_video":537,"guid":"8D60VAnK3n","title":"Nicky V Airsoft Battle","description":"<p>We do a good old fun airsoft battle! Nicky V attempts to take over the office.</p>","release_type":1,"release_date":null,"added_date":"2017-06-21T00:51:03.000Z","channel":"CSF","creator":"admin","thumbnail":"/get/thumbnail/by_guid/8D60VAnK3n","tags":["Nicky V"]}

alex73630 commented 7 years ago

I didn't know about that API, this will help me a lot @aidanappleCO ! I'll rewrite a huge part of my code to implement that instead of parsing the forum page and hope that it'll work.

aiapo commented 7 years ago

Yeah I only found that API after trying to reverse engineer Floatplane. Glad it will help. I mean, you might still have to parse the page, but only to get the GUID.