pstream is dead; long live pstream taciturnaxolotl.github.io/pstream-ng/
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix rotten tomato scraper

Pas 4d5a5151 ebdb931d

+4 -4
+4 -4
src/utils/rottenTomatoesScraper.ts
··· 132 132 const movies = movieRows.map((row) => { 133 133 const nameMatch = row.match(/data-qa="info-name"[^>]*>([^<]+)</); 134 134 const urlMatch = row.match(/href="([^"]+)"/); 135 - const scoreMatch = row.match(/tomatometerscore="([^"]+)"/); 136 - const sentimentMatch = row.match(/tomatometersentiment="([^"]+)"/); 137 - const yearMatch = row.match(/releaseyear="([^"]+)"/); 135 + const scoreMatch = row.match(/tomatometer-score="([^"]+)"/); 136 + const sentimentMatch = row.match(/tomatometer-sentiment="([^"]+)"/); 137 + const yearMatch = row.match(/release-year="([^"]+)"/); 138 138 const tomatometeriscertified = row.match( 139 - /tomatometeriscertified="([^"]+)"/, 139 + /tomatometer-is-certified="([^"]+)"/, 140 140 ); 141 141 142 142 return {