Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > Template Shares
Reply
  #1  
Old 13th December 2017, 21:18
Marco Marco is offline
Senior Member
 
Join Date: Jun 2009
Seychelles
Posts: 327
Default 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
Reply With Quote
  #2  
Old 15th December 2017, 10:55
Phogo's Avatar
Phogo Phogo is offline
VIP
 
Join Date: Jan 2008
United Kingdom
Posts: 902
Default
I think you would be better using the tmdb API rather than "preg_match_all". https://www.themoviedb.org/documentation/api
Reply With Quote
  #3  
Old 15th December 2017, 12:05
Marco Marco is offline
Senior Member
 
Join Date: Jun 2009
Seychelles
Posts: 327
Default 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
Reply With Quote
  #4  
Old 15th December 2017, 12:15
Phogo's Avatar
Phogo Phogo is offline
VIP
 
Join Date: Jan 2008
United Kingdom
Posts: 902
Default
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
Reply With Quote
  #5  
Old 16th December 2017, 17:17
Ruffneck Ruffneck is offline
Senior Member
 
Join Date: Feb 2008
Posts: 70
Default
somebody can post worked with posters ts_imdb.php ?
Reply With Quote
  #6  
Old 24th February 2018, 08:46
z3ro z3ro is offline
Senior Member
 
Join Date: Oct 2010
P2P
Posts: 121
Default
Quote:
Originally Posted by Ruffneck View Post
somebody can post worked with posters ts_imdb.php ?
good my work

edit ts_imdb.php and good
Attached Thumbnails
1TJmdOUXTXeAIcFsge_OHA.png  
Reply With Quote
  #7  
Old 4th May 2018, 20:29
Tankcsapda Tankcsapda is offline
Member
 
Join Date: Nov 2011
Hungary
Posts: 10
Default
Quote:
Originally Posted by z3ro View Post
good my work

edit ts_imdb.php and good


Danix ts_imdb.php with little fix
Attached Thumbnails
imdb.png  
Reply With Quote
  #8  
Old 9th June 2018, 12:12
Marco Marco is offline
Senior Member
 
Join Date: Jun 2009
Seychelles
Posts: 327
Default
Maybe you share it with us ?!?
Reply With Quote
  #9  
Old 9th June 2018, 13:10
Tankcsapda Tankcsapda is offline
Member
 
Join Date: Nov 2011
Hungary
Posts: 10
Default
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
Attached Thumbnails
Screenshot_4.png  
Reply With Quote
  #10  
Old 4th July 2018, 13:07
Ruffneck Ruffneck is offline
Senior Member
 
Join Date: Feb 2008
Posts: 70
Default
hi everybody !

somebody can post ts_imdb.php with worked posters ?

i cant fixed poster code...:(
Reply With Quote
Reply

Tags
imdb

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 13:53. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.