Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

imdb is no longer returning episode titles #41

Open
GoogleCodeExporter opened this issue Jul 6, 2015 · 3 comments
Open

imdb is no longer returning episode titles #41

GoogleCodeExporter opened this issue Jul 6, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?

1. Click "Get Titles"
2. Choose www.imdb.com as the Search Provider and click "Search"
3. Choose the correct series and click OK

What is the expected output? What do you see instead?

Episode titles should appear, like they do with other search providers... 
they no longer do.

What version of the product are you using? On what operating system?

version 0.9.7.0 on XP Home SP3

Original issue reported on code.google.com by [email protected] on 31 Mar 2010 at 2:52

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 4 Aug 2010 at 7:29

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 13 Oct 2012 at 2:36

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

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 [email protected] on 9 Nov 2012 at 8:07

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant