Ergebnis 271 bis 280 von 318
-
16.08.2020, 21:50 #271
- Registriert seit
- 03.05.2016
- Beiträge
- 406
- Thanks (gegeben)
- 25
- Thanks (bekommen)
- 569
- Total Downloaded
- 1,48 MB
- Total Downloaded
- 1,48 MB
Themenstarter
-
Advertising
-
17.08.2020, 06:42 #272
- Registriert seit
- 02.05.2020
- Beiträge
- 16
- Thanks (gegeben)
- 2
- Thanks (bekommen)
- 2
- Total Downloaded
- 0
- Total Downloaded
- 0
I search for italian language with tmdb, for example "info", in this mode I have all informations (poster-backdrop-votes-description....)
but for me it is not the best. I think it works for other languages too
HTML-Code:def infos(): import json if os.path.exists(pathLoc+"events"): with open(pathLoc+"events", "r") as f: titles = f.readlines() titles = list(dict.fromkeys(titles)) n = len(titles) downloaded = 0 for i in range(n): title = titles[i] title = title.strip() info_files = pathLoc + "infos/{}.json".format(title) if not os.path.exists(info_files): try: url = 'https://www.bing.com/search?q={}+imdb'.format(title) headers = {"User-Agent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.97 Safari/537.36"} ff = requests.get(url, stream=True, headers=headers).text rc = re.compile('https://www.imdb.com/title/tt(\d*)', re.DOTALL) imdb_id = "tt" + rc.search(ff).group(1) if imdb_id: url_info = 'https://api.themoviedb.org/3/find/{}?api_key={}&language=it-IT&external_source=imdb_id'.format(str(imdb_id), str(tmdb_api)) tmdb_info = requests.get(url_info).json() try: movie_id = (tmdb_info['movie_results'][0]['id']) open('/tmp/prova', 'w').write(str(movie_id)) url_tmdb = "https://api.themoviedb.org/3/movie/{}?api_key={}&language=it-IT&append_to_response=credits".format(str(movie_id), str(tmdb_api)) except: tv_id = (tmdb_info['tv_results'][0]['id']) open('/tmp/prova1', 'w').write(str(tv_id)) url_tmdb = "https://api.themoviedb.org/3/tv/{}?api_key={}&language=it-IT&append_to_response=credits".format(str(tv_id), str(tmdb_api)) info_json = requests.get(url_tmdb).json() w = open(info_files,"wb").write(json.dumps(info_json)) downloaded += 1 w.close() except: pass now = datetime.now() dt = now.strftime("%d/%m/%Y %H:%M:%S") with open("/tmp/up_report", "a+") as f: f.write("infos end : {} (downloaded : {})\n\n".format(dt, str(downloaded)))
The best it is use in the string url = 'https://www.bing.com/search?q={}+tmdb' or 'https://www.google.com/search?q={}+tmdb'
For example the title is Hazzard (Tv serie) the result is this 'https://www.themoviedb.org/tv/397-the-dukes-of-hazzard'
in this link we have TV o MOVIE (depend of the title), the id and the original title.
Now I will search to obtain the single and separate information, in this way we can do all the research we want
-
Danke - 1 Thanksgudman bedankten sich
-
17.08.2020, 14:53 #273
- Registriert seit
- 03.05.2016
- Beiträge
- 406
- Thanks (gegeben)
- 25
- Thanks (bekommen)
- 569
- Total Downloaded
- 1,48 MB
- Total Downloaded
- 1,48 MB
ThemenstarterThis issue is as follows;
This code first finds the imdb id via bing, then it obtains information via omdb.
unfortunately omdb doesn't work with other languages or i couldn't ...
tmdb has other language support but there is not much information on it either ...
No imdb rating ...
no parental rating ...
no awards ...
No director, writer, actor ...
currently there is only language support for tmdb poster, backdrop (redundant, because no text) ...
With the next update, language support will come to tvdb.
I am open to any suggestions ...
-
Danke - 1 Thanksgudman bedankten sich
-
17.08.2020, 19:43 #274
- Registriert seit
- 02.05.2020
- Beiträge
- 16
- Thanks (gegeben)
- 2
- Thanks (bekommen)
- 2
- Total Downloaded
- 0
- Total Downloaded
- 0
This is not a true.
With tmdb you have many informations (vote_average, vote_count, budget, popularity, production_companies, cast, crew etc...) test this Troy movie
https://api.themoviedb.org/3/movie/6...sponse=credits
-
17.08.2020, 21:44 #275
- Registriert seit
- 03.05.2016
- Beiträge
- 406
- Thanks (gegeben)
- 25
- Thanks (bekommen)
- 569
- Total Downloaded
- 1,48 MB
- Total Downloaded
- 1,48 MB
Themenstarter
of course tmdb information available ..
No particularly necessary "imdb rating" and "parental rating" ...
"imdb rating" only available with omdb api
tmdb gives "tmdb rating" information ...
I can also add tmdb information in future updates ...
tmdb is the best overall ... but it has shortcomings ...
Let me add,
tvdb information is better than tmdb (series) ... priority will also be tvdb ... if we take into account that the omdb api is 1000 per day ... there is also a language problem in omdb ...
Of course, website scraping can also be done by scraping it, but that's not healthy ... hundreds of consecutive scans can damage the site ...
I even think of putting a limitation on Bing-google ... Use only one of the 4-5 search engines ...
-
17.08.2020, 22:27 #276
- Registriert seit
- 02.05.2020
- Beiträge
- 16
- Thanks (gegeben)
- 2
- Thanks (bekommen)
- 2
- Total Downloaded
- 0
- Total Downloaded
- 0
Imdb is amazon business no multilanguage free
Tmdb is open and the informations are update by the users, multilanguage
Tvbd is the best for the Series TV no multilanguage (unfortunately)
and the same is omdb only english
we would need a big multilanguage database
but unfortunately it does not exist and in any case it would not satisfy everyone
-
31.10.2020, 06:34 #277
- Registriert seit
- 06.04.2013
- Ort
- Malediven
- Beiträge
- 321
- Thanks (gegeben)
- 105
- Thanks (bekommen)
- 295
- Total Downloaded
- 11,61 MB
- Total Downloaded
- 11,61 MB
Box 1:AX HD61 mit openHDF 7.0Box 2:GB Quad 4k mit openHDF 7.0Box 3:OSMio 4k mit openHDF 7.0Box 4:Mut@ant HD51 mit openHDF 7.0Hi digiteng,
is it possible to search also for series with german umlauts like "Veep - Die Vizepräsidentin"?
veep – die vizeprasidentin — The Movie Database (TMDb)
-
31.10.2020, 15:37 #278
- Registriert seit
- 03.05.2016
- Beiträge
- 406
- Thanks (gegeben)
- 25
- Thanks (bekommen)
- 569
- Total Downloaded
- 1,48 MB
- Total Downloaded
- 1,48 MB
Themenstarter
-
01.11.2020, 05:49 #279
- Registriert seit
- 06.04.2013
- Ort
- Malediven
- Beiträge
- 321
- Thanks (gegeben)
- 105
- Thanks (bekommen)
- 295
- Total Downloaded
- 11,61 MB
- Total Downloaded
- 11,61 MB
Box 1:AX HD61 mit openHDF 7.0Box 2:GB Quad 4k mit openHDF 7.0Box 3:OSMio 4k mit openHDF 7.0Box 4:Mut@ant HD51 mit openHDF 7.0Ahh sorry my mistake. I want to post it in this thread: Poster zur Sendung oder Film in Infobar
-
12.11.2020, 04:07 #280
- Registriert seit
- 18.07.2015
- Ort
- Bratislava
- Beiträge
- 12
- Thanks (gegeben)
- 1
- Thanks (bekommen)
- 0
- Total Downloaded
- 1,07 GB
- Total Downloaded
- 1,07 GB
Box 1:Uncorex1Box 2:Uncorex2Box 3:Dinobot 4K +Box 4:Xtrend ET 8500Box 5:DreamOneHallo zusammen guten Morgen
Habe nun schon ein wenig Zeit damit verbracht mich mit diesem Thema auseinander zu setzen!
Das alles ist hoch interessant für mich. Und ich würde das auch gerne nutzen!
Binn aber absoluter Neuling auf diesem Gebiet.
Könnt ihr mir bitte weiterhelfen?
Giebt es eine Schritt für Schritt Anleitung für Dummis? ( Wo gibt es was und wohin damit ? Funktioniert das mit jedem Skin oder nur HD Metrix u.s.w )
Ich bedanke mich im voraus.
MfG
IMEVA4
Lesezeichen