Scraping IMDB is risky, dude. They’ve got anti-bot measures and you could get IP-banned.
Instead, check out TMDb API. It’s way more developer-friendly and has tons of movie data, including ratings. Plus, their free tier is decent for small projects.
Here’s a quick Python snippet to get you started:
```python
import requests
response = requests.get("https://api.themoviedb.org/3/movie/550?api_key=YOUR_KEY")
print(response.json())
```
Instead, check out TMDb API. It’s way more developer-friendly and has tons of movie data, including ratings. Plus, their free tier is decent for small projects.
Here’s a quick Python snippet to get you started:
```python
import requests
response = requests.get("https://api.themoviedb.org/3/movie/550?api_key=YOUR_KEY")
print(response.json())
```
