2019-12-22, 19:52
(2019-12-22, 16:47)JanM201 Wrote: Anybody else having problems scraping the Rotten Tomatoes ratings?
Apologies for the late reply, just tested with the first movie example you sent me, and with a OMDbAPi Key, I do get ratings from Rotten Tomatoe
xml:<ratings>
<rating name="tomatometerallcritics" max="10">
<value>8.4</value>
<votes>358</votes>
</rating>
<rating name="tomatometerallaudience" max="10">
<value>4.0</value>
<votes>N/A</votes>
</rating>
<rating name="themoviedb" max="10" default="true">
<value>6.1</value>
<votes>1390</votes>
</rating>
</ratings>
The second title I received nothing, but the third also returned Tomato ratings.
This indicates its working correctly, but you do need your own API key for OMDbAPI. Also, that not all movie titles have Rotten Tomato data available.