Jump to content
Sign in to follow this  


Recommended Posts

So I'm making a program that gets the information on TV series.

I plan on using it to automatically modify the file names and file structure of my downloaded collection Anime and TV shows to an IMDB standard.

<Show Name>\Season <Season#>\<Show Name> - S<Season#>E<Episode#> - <Episode Title>.<Extension>


Soul Eater\Season 1\Soul Eater - S01E01 - Soul Resonance- Soul Eater, Becoming a Death Scythe_.mkv

TVDB is an open television show database, and seems pretty comprehensive I would like to use it to get release years and episode names. However I was wondering if someone could help explain to me the best way to get and parse the information. I'm not familiar with using XML API so as of now the only way I know how to go about it would be to parse the raw HTML page sources for the information.


Edited by Paulie

Share this post

Link to post
Share on other sites

If you don't want to mess with the XML DOM, (and I can understand why you wouldn't) , then I would recommend building subfunctions to parse each section of the code base; such that when the html inevitably changes, you can easily determine where things are going south for you.

Resist the urge to build one big UDF that iterates through the html.

In particular, look for places where you can break table rows into arrays, and handle the results.

Reading the help file before you post... Not only will it make you look smarter, it will make you smarter.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...