this post was submitted on 02 Mar 2024
13 points (93.3% liked)

Programming

16975 readers
1288 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 1 year ago
MODERATORS
 

Hey. My brother asked me if I could write him something that iteratively scans his directories for movies and scrapes the web for data on the movie. I know there probably exist dozens of such thing, the aim is to be minimal here. I need public-exposed endpoints that allow for scraping of their data. I just need the endpoints, I don't need anything else. I am writing the script in Ruby but I may switch to C if it's too slow. It's pretty IO-bound anyways so it doesn't matter what I use.

So if any of you knows a good publicly-exposed, free API to grab data about movies and TV shows, tell me. I will share the program/script later on for everyone to use.

Thanks.

all 5 comments
sorted by: hot top controversial new old
[–] [email protected] 5 points 6 months ago (1 children)
[–] [email protected] 1 points 6 months ago

Uh this one was back of my mind. Thanks!

[–] [email protected] 2 points 6 months ago (1 children)

There is example scrapers in Kodi to help you work out endpoints and intergration options https://kodi.wiki/view/Scrapers

It's very hard to make sure your getting the right info for the files so you need a lot of fuzzy and logic in the searches around the API

Possibly overkill to what your wanting but has some potential similar functionality, where you can see some scrapers in Filebot for linux also does this to match metadata to the correct file https://github.com/filebot

[–] [email protected] 1 points 6 months ago

Thanks man, also noted your advice.