Open GoogleCodeExporter opened 8 years ago
To fix, change Databases/Titles/IMDB.cfg Line 36, from:
RelationsPage=http://us.imdb.com%Lepisodes
Change to:
RelationsPage=http://www.imdb.com%Lepisodes
Original comment by elah...@gmail.com
on 4 Aug 2010 at 7:29
I know it's been a while, elahn.i, but I tried your fix and it no longer works
(or does not seem to be for me).
I'll look into this.
Original comment by jb@tech-tiles.com
on 13 Oct 2012 at 2:36
Hi jb, you now need the following in IMDB.cfg:
RelationsRegExp=<div>S(?<Season>\d*),
Ep(?<Episode>\d*).+\n.+\n.+\n.+\n.+\n.+\n.+\n.+\n.+\n.+\n.+\n.+\nitemprop="name"
>(?<Title>.*?)</a>
RelationsStart=<div class="clear" itemscope
itemtype="http://schema.org/TVSeason">
RelationsEnd=<a id="load_previous_episodes"
Also, in DataGenerator.cs, line 382, RegexOptions.Singleline needs to be
removed. The best way would be to add it as an option to RelationProvider and
have the value loaded from the provider.cfg file.
Another thing to consider is that only the latest season is shown on the
RelationsPage now, to get season N append ?season=N to the URL. So to get all
seasons, we'll need to take the Season from one of the matches and iterate
through downloading the episodes from each previous season. This could be
further refined by adding a method to InfoEntryManager which returns a List of
seasons, thereby allowing us to download the needed seasons' episode titles
only.
Original comment by elah...@gmail.com
on 9 Nov 2012 at 8:07
Original issue reported on code.google.com by
elah...@gmail.com
on 31 Mar 2010 at 2:52