I'm trying to simply get the number of users on a subredit.
When I open the HTML, I can see it.
<div class="_3XFx6CfPlg-4Usgxm0gK8R">55.3k</div>
I wrote a bit of python code to try and get the number:
import requests
from bs4 import BeautifulSoup
url = "https://www.reddit.com/r/TowerofGod/"
response = requests.get(url)
soup = BeautifulSoup(response.text, "html.parser")
regulars = soup.find("div", class_ = "_3XFx6CfPlg-4Usgxm0gK8R")
print(regulars)
But I only get None as a response. What am I doing wrong?