Questions tagged [imdbpy]

IMDbPY is a Python package useful to retrieve and manage the data of the IMDb movie database about movies, people, characters and companies.

128 questions
0
votes
1 answer

How to extract money value from "grossing" string in IMDbPY

I would like to extract a money value when using IMDbPY to extract datas from IMDB. My problem is that IMDbPY returns results in the following format, what is a unicode string: In : movie['business']['gross'][0] Out: u'$134,966,411 (USA) (11 May…
hyperknot
  • 13,454
  • 24
  • 98
  • 153
0
votes
2 answers

Can't pass database URL to imdbpy2sql.py script

Whether I'm running imdbpy2sql.py or s32cinemagoer.py the same error occurs: python3 s32cinemagoer.py /home/username/frozendata 'mysql://imdb:imdb@localhost/imdb' Traceback (most recent call last): File "s32cinemagoer.py", line 197, in
0
votes
1 answer

How can i get Directors from the IMDB List?

from bs4 import BeautifulSoup import requests try: source = requests.get('https://www.imdb.com/search/title/?country_of_origin=NP&sort=year,asc') source.raise_for_status() soup = BeautifulSoup(source.text, 'html.parser') …
0
votes
1 answer

Can`t find imdbpy2sql.py script from cinemagoer (former IMDbPY) package

I've just installed cinemagoer (IMDbPY) from its repository: pip3 install git+https://github.com/cinemagoer/cinemagoer But I can't locate the imdbpy2sql.py script, there is nothing in the bin folder: /bin$ ls | grep imdb /bin$ How do I find the…
0
votes
1 answer

How can I scrape data of ```title``` and ```genres``` in Russian?

Here is my code, so how can I scrap data of title and genres in Russian or any other language (now I have it in English)? from imdb import IMDb def scrape_movie_info(movie_id): ia = IMDb('http', useModule='http') movie =…
0
votes
1 answer

Imdbpy - cannot find the information that I want and it is slow

I'm a beginner at Python. I was trying to get some information about a movie using Imdbpy. The code looks like this: def imdb(movie_name): ia = IMDb() results = ia.search_movie(movie_name) movie_id = results[0].getID() movie =…
zedmahdi
  • 9
  • 2
0
votes
1 answer

IMDbDataAccessError: IMDbPy and Cinemagoer no longer work

I've been working with IMDbPy on and off for the last year. For a week now, all of my codes have stopped working and even the simple codes from tutorials don't work. I always get the same error message: IMDbDataAccessError: {'errcode': None,…
idis
  • 27
  • 4
0
votes
1 answer

IMDbPY Importing to MySQL Problem

I am having a problem while trying to import imdb data from text files to MySQL database using imdbpy2sql.py script. It throws the following error. It seems like the exception handler code tries to insert a duplicated record into cast_info table…
K Hein
  • 894
  • 2
  • 12
  • 23
0
votes
0 answers

WinError 10061: No connection could be made because the target machine actively refused it

I am using a python script to fetch info from Imdb. While running it on Thorny, I am getting the following error: 2022-09-09 19:44:04,772 CRITICAL [imdbpy]…
0
votes
1 answer

Avoid similar names in the IMDb name search

My goal is to use the IMDb name search to get the ID for a person with exactly the name I'm looking for. Unfortunately, I also get all the similar names with this code. import imdb # creating instance of IMDb ia = imdb.IMDb() # list of names names…
idis
  • 27
  • 4
0
votes
1 answer

python scrape imdb's image

I want to scrape imdb first 100 movies's img , is seems sucessfully ,but it give me wrong url imdb web site :https://www.imdb.com/search/title/?count=100&groups=top_1000&sort=user_rating url =…
TangPing
  • 1
  • 1
0
votes
2 answers

How to retrieve IMDB movie ID from imdbpy?

The Python imdbpy module allows you search by movie title. Example: import imdb ia = imdb.IMDb() search_movie = ia.search_movie('Ready Player One') Result: [,
SeaDude
  • 3,725
  • 6
  • 31
  • 68
0
votes
1 answer

How to fetch more information from imdb and save it in pandas data frame?

I am learning pandas and python, I want to fetch more information about movies from IMDB library and save it in an addition column in my already existing data frame. For example: df['titleId'] has movie IDS in my data frame (total almost…
sana ullah
  • 43
  • 3
0
votes
1 answer

IMDBPY - how to get the series from an episode?

I have an episode-id and from this I want to derive the series. How can I do that? This is what I tried: ia = IMDb() movie = ia.get_movie(id) if movie['kind'] == "episode": series = movie['episode of'] print(series) This gives me only the…
Rumpumpel
  • 1
  • 2
0
votes
1 answer

How to get filmography of a person with IMDbpy

I want to be able to be able to give a script a person's IMDB ID and then the script will print out the person's filmography. Here is the code I have so far: import imdb moviesDB = imdb.IMDb() #PeterDinklage IMDB ID ActorId = "0227759" person =…
Makuza
  • 139
  • 6
1 2 3
8 9