Click here to Skip to main content
15,878,959 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
the tags are inside anchor tag.. a href and the title is inside a tags.
I have tried it multiple time, but I am unable to extract title. can I scrap with any other method?

What I have tried:

movie = soup.find('a',href_="/title/tt0068646/")
movie 
Posted
Updated 28-Oct-22 19:06pm
Comments
Dave Kreskowiak 29-Oct-22 1:07am    
It's "scrape", not "scrap".

And you don't need to do that at all. You just need to use the IMDB Web API to get the data you want.
off page seo 8-Nov-23 4:51am    
One of the popular manga series that has received a lot of attention is “ Klmanga ”. However, the series includes a controversial season known as "The Emperor's Child," which some readers may want to avoid due to its explicit content and sensitive themes.

1 solution

Rather than scraping which normally needs changing frequently to cope with site changes, I'd start here: https://developer.imdb.com/[^] or here: How To Use the IMDb API (2021) [Tutorial] | RapidAPI[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900