Metacritic is Rigged, So Here is A Quick Script To Verify

import re
import requests
import time
import random

usr_score = re.compile("<div class=\"(metascore_w ?|user ?|medium ?){3}.+\">(\\d{1,2})")
def query_page(page_num):
    return [ m[2] for m in usr_score.finditer(requests.get(
        "https://www.metacritic.com/game/playstation-4/the-last-of-us-part-ii/user-reviews?page={}".format(
            page_num)).text) ]

def query_page_retry(page_num):
    while True:
        try:
            return query_page(page_num)
        except Exception:
            print("Failed, retrying ...")
            time.sleep(random.uniform(0.5, 10)) 

page=0
_scores=[]
while True:
    new_scores=query_page_retry(page)
    print("page {}, {} scores".format(page, len(new_scores)))
    _scores.extend(new_scores)
    if len(new_scores) == 0:
        break
    page += 1

print("paginated {} pages for a total of {} scores.".format(page+1, len(_scores)))
print("average score: {}".format(
    sum(int(s) for s in _scores)/len(_scores)))

Final Output:

paginated 234 pages for a total of 23286 scores.

average score: 3.372455552692605

​

Feel free to suggest improvements to this script!

Posted Jun 21, 2020, 6:56 PM UTC

139
Opiated102•

Nice job

3
MoistButton8•

Did you run this recently? I just looked at the score and noticed that the top says its based on 43k scores, but lower down says 23k reviews... (top of the user-reviews page also says 43k reviews)

Where did the rest go?

1
uwadmin12OPAvid golfer•

Yeah, there are 233 pages, each page has 100 visible comments.

My best guess is they're filtered by some spam-detection bot.

1
MoistButton8•

If they were filtered out, why are they only removed from the main page?

I THINK that these don't have text on them, so there is no "review" on them, but that still doesn't justify removing them from the main page.

1
uwadmin12OPAvid golfer•

Yeah, you're probably right. Let me know if you find a way to see those hidden ones.

1
MoistButton8•

No luck on the hidden scores, but can your script be edited to do something about the bot reviews, both positive and negative? A lot of them have the same content, so should be able to only count them once (or not at all)

Side note, IMDB has TLOU2 at 6.2 average, which is much more fair than 0 OR 10.

1