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

Release date parsing for imbd broken #1107

Closed
Omertron opened this issue Mar 15, 2015 · 1 comment
Closed

Release date parsing for imbd broken #1107

Omertron opened this issue Mar 15, 2015 · 1 comment

Comments

@Omertron
Copy link
Member

Original issue 1108 created by Omertron on 2009-11-23T20:14:07.000Z:

imdb seems to have altered the layout for "Release date"

Now looks like
<h5>Release Date:</h5>
<div class="info-content">
2 October 2009 (UK)

So we end up with this in xml file:
<releaseDate>div class="info-content"</releaseDate>

Adding a skip value of 1 to parser seems to fix it:
movie.setReleaseDate(HTMLTools.extractTag(xml, "<h5>Release Date:</h5>", 1));

"Runtime" also has this "info-content" tag added:
<h5>Runtime:</h5>
<div class="info-content">
108 min

and possibly others.

@Omertron
Copy link
Member Author

Comment #1 originally posted by Omertron on 2009-11-24T08:38:48.000Z:

Should be fixed in r1211

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