PDA

View Full Version : grabbing movie informaton from the internet


stax76
24th October 2003, 15:19
I would like to grab movie information like
actors, chapters etc. from the internet.
Can somebody tell me how to get the needed
urls and what's the best way to parse the
received files, most likely using a XML
reader or regular expressions. I worked
a couple of times with XML but I'm not very
familiar with regular expressions but want
to learn this anyway so it would be a good
chance

Any tips, source code?

bilu
24th October 2003, 15:28
The most related stuff I've seen around:

http://forum.doom9.org/showthread.php?s=&threadid=40343


Chapter Grabber (ogm and mkv support tool)

This program will take an IFO file and a web address to the bn.com scene index of your favorite DVD to create a chapters text file with useful chapter names for use with an ogm muxer. Special thanks to Christopher Paris for ChapterXtractor which is required to be in the same directory.


Bilu

Emp3r0r
29th October 2003, 17:39
ChapterGrabber works by simply downloading the web page into a string and then parsing through the string to extract the chapters. Not very flexible for sure and would benefit from xml and xslt style sheets or regular expressions as you mentioned. Anyway, take a look at the source code, particularly ChapterTools.cs

http://jvance.com/files/ChapterGrabberSources.zip