sometime in the last few days it seems imdb has changed the tables or something as ratings for movies are not working, for me at least.
rather then PG, R, PG-13 etc they are all coming up NR. not "NOT-RATED" but NR as it does when there is no rating information. just noticed it, but from looking back at my files, it seems it was working last time i used zeeb 4 days ago.
thanx again for all that you do for us.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2012-10-21
If you go to Options - Advanced - and under Movie Results look for MPAA Certifcation (yeah, there's a typo) replace the existing text with :
<spanitemprop="contentRating">Rated (.*?) for (.*?)</span>
I've tested it with G, PG, PG-13, R, and NC-17 rated movies, and they all work.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2012-10-21
Well, at least they work on the test window. They don't seem to work when going back to Zeeb proper.
I've cut everything after "for" in the statement above.
I'll test it and see if I can get it to behave in the app.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2012-10-21
Got the following code to work:
<span title="(.*?)"
This rips it from the tiny graphic at the top - the problem I was having was that the test page loads all the lower info, whereas the browser window within Zeeb doesn't seem to get the MPAA info. I don't know how to fix that, so the code above will get you the right stuff.
Note that NR won't be triggered - instead you'll likely get NOT-RATED instead. I could try to figure out some sort of substitution, but I don't honestly care enough to. I hope this gets fixed in an upcoming release. It would also be nice if we could select the region ratings (I'm in Canada), and also get a shorthand for the REASONS for the ratings … eg:
AVP:
Rated PG-13 for violence, language, horror images, slime and gore
<mpaa> = PG-13
<mpaareason> = violence, language, horror images, slime and gore
or initials V,L,HI,S,G)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2012-10-21
still not perfect. Some movies falter with that.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2012-10-22
So with a bunch of testing, it works with the <span title="(.*?)" code. The trick is that if the rating graphic is NR, you get NOT-RATED. Old "Approved" will reflect APPROVED.
FWIW, I set up my file name (and remember to change your alt text one in case you need to use it):
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2012-10-22
Oh, one last comment - the "still not perfect" is because of the discrepancy with NOT-RATED vs NR. The NR will appear with no rating listed at all, and NOT-RATED shows with the NR icon on the summary of the imdb article.
I'm not going to try and fix that. Both are valid, just inconsistent. I can't be brought to care enough since this isn't my program. I would, however, like to mention that Zeeb is an awesome app.
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
thank you so much Justin! I was away from a computer all weekend, but when I get home tonight I will give this a shot.
Jamison - thanx for taking the time, and thanx for making it easy for end users to adjust the code and not hiding the fuctions of your program like many people seem to do.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This should be fixed now. Also I fixed the 'Certifcation' typo and added some manually editable functionality that let's you change what the MPAA ratings convert to. You would have to open the preferences file in a text editor to change them, but look for the mpaaConversion lines, and change the second value on any line. So for instance, if you wanted long words you could theoretically put 'PG': 'Parental Guidance'. Note for backward compatibility the default if no MPAA rating is found is 'NR'. However, you can change this on the 'NF':'NR' line (NF = not found).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
sometime in the last few days it seems imdb has changed the tables or something as ratings for movies are not working, for me at least.
rather then PG, R, PG-13 etc they are all coming up NR. not "NOT-RATED" but NR as it does when there is no rating information. just noticed it, but from looking back at my files, it seems it was working last time i used zeeb 4 days ago.
thanx again for all that you do for us.
If you go to Options - Advanced - and under Movie Results look for MPAA Certifcation (yeah, there's a typo) replace the existing text with :
I've tested it with G, PG, PG-13, R, and NC-17 rated movies, and they all work.
Well, at least they work on the test window. They don't seem to work when going back to Zeeb proper.
I've cut everything after "for" in the statement above.
I'll test it and see if I can get it to behave in the app.
Got the following code to work:
This rips it from the tiny graphic at the top - the problem I was having was that the test page loads all the lower info, whereas the browser window within Zeeb doesn't seem to get the MPAA info. I don't know how to fix that, so the code above will get you the right stuff.
Note that NR won't be triggered - instead you'll likely get NOT-RATED instead. I could try to figure out some sort of substitution, but I don't honestly care enough to. I hope this gets fixed in an upcoming release. It would also be nice if we could select the region ratings (I'm in Canada), and also get a shorthand for the REASONS for the ratings … eg:
AVP:
Rated PG-13 for violence, language, horror images, slime and gore
<mpaa> = PG-13
<mpaareason> = violence, language, horror images, slime and gore
or initials V,L,HI,S,G)
still not perfect. Some movies falter with that.
So with a bunch of testing, it works with the <span title="(.*?)" code. The trick is that if the rating graphic is NR, you get NOT-RATED. Old "Approved" will reflect APPROVED.
FWIW, I set up my file name (and remember to change your alt text one in case you need to use it):
<title> (<year>, <mpaa>, <r10>) (<g>) (<stars>) .<saved>
Oh, one last comment - the "still not perfect" is because of the discrepancy with NOT-RATED vs NR. The NR will appear with no rating listed at all, and NOT-RATED shows with the NR icon on the summary of the imdb article.
I'm not going to try and fix that. Both are valid, just inconsistent. I can't be brought to care enough since this isn't my program. I would, however, like to mention that Zeeb is an awesome app.
Thanks!
I will take a look in the next day or so and fix. Sorry for the delay. Thanks for the reports.
thank you so much Justin! I was away from a computer all weekend, but when I get home tonight I will give this a shot.
Jamison - thanx for taking the time, and thanx for making it easy for end users to adjust the code and not hiding the fuctions of your program like many people seem to do.
This should be fixed now. Also I fixed the 'Certifcation' typo and added some manually editable functionality that let's you change what the MPAA ratings convert to. You would have to open the preferences file in a text editor to change them, but look for the mpaaConversion lines, and change the second value on any line. So for instance, if you wanted long words you could theoretically put 'PG': 'Parental Guidance'. Note for backward compatibility the default if no MPAA rating is found is 'NR'. However, you can change this on the 'NF':'NR' line (NF = not found).
Is no longer working for me and returns the last movies name from the "People who liked this also liked..." section
I have changed it to the following to return the Rating
Last edit: Malouff 2015-03-15