I want to retrieve reviews that I have given to movies/series on IMDB app/website under my account.
Does IMDB expose any such API?
I tried accessing the URL mentioned in the screenshot. But looks like I need the token?
How to get IMDB token?
I went through https://github.com/alberanid/imdbpy but looks like there are no such API's to get user reviewed data.
Can anyone please guide me in the right direction?
I tried a different way altogether and it worked,
import requests
import browsercookie
import bs4
url = 'https://www.imdb.com/user/ur<user_id>/ratings?ref_=nv_usr_rt_4'
cj = browsercookie.chrome()
res = requests.get(url, cookies=cj)
res.raise_for_status()
soup = bs4.BeautifulSoup(res.text, "html.parser")