Bravo List

Bravo List (http://www.bvlist.com/index.php)
-   Template Shares (http://www.bvlist.com/forumdisplay.php?f=26)
-   -   Imdb (http://www.bvlist.com/showthread.php?t=11308)

Marco 13th December 2017 21:18

Imdb
 
Have anyone ideea how to change the imdb poster from imdb.com to amazon how is changed recently?

PHP Code:

    preg_match_all'#http:\/\/ia\.media-imdb.com\/images\/M\/(.*)\.jpg#isU'$photos['1']['0'], $photourls ); 

Thanks in advance, a while i used to tmdb database, but they changed too the way to post pictures.


Best wishes.

Marco

Phogo 15th December 2017 10:55

I think you would be better using the tmdb API rather than "preg_match_all". https://www.themoviedb.org/documentation/api

Marco 15th December 2017 12:05

Imdb
 
Thanks for your fast reply, i requested an api key , and received, please tell me how to insert on ts_imdb.php

Thanks again ,

Best wishes.

Marco:drink:

Phogo 15th December 2017 12:15

Hi Marco,

No, I can't sorry. But you can use the following to help, https://github.com/search?l=PHP&q=th...utf8=%E2%9C%93

Ruffneck 16th December 2017 17:17

somebody can post worked with posters ts_imdb.php ?

z3ro 24th February 2018 08:46

1 Attachment(s)
Quote:

Originally Posted by Ruffneck (Post 51053)
somebody can post worked with posters ts_imdb.php ?

good my work

edit ts_imdb.php and good

Tankcsapda 4th May 2018 20:29

1 Attachment(s)
Quote:

Originally Posted by z3ro (Post 51572)
good my work

edit ts_imdb.php and good



Danix ts_imdb.php with little fix

Marco 9th June 2018 12:12

Maybe you share it with us ?!?:drink:

Tankcsapda 9th June 2018 13:10

1 Attachment(s)
line 107 :
PHP Code:

$poster match'/poster">.*?<img.*?src="(.*?)".*?<\/td>/ms'$text); 

line 109 :
PHP Code:

preg_match_all'#https:\/\/m\.media-amazon.com\/images\/M\/(.*)\.jpg#isU'$photos['1']['0'], $photourls ); 


http in place of https in the right place

Ruffneck 4th July 2018 13:07

hi everybody !

somebody can post ts_imdb.php with worked posters ?

i cant fixed poster code...:(


All times are GMT +2. The time now is 12:21.

Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.