Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

imdb change image link #13

Closed
lyarinet opened this issue Mar 16, 2018 · 6 comments
Closed

imdb change image link #13

lyarinet opened this issue Mar 16, 2018 · 6 comments

Comments

@lyarinet
Copy link

imdb change image link fix it please

@maknol
Copy link

maknol commented Mar 16, 2018

Try changing:
$arr['poster'] = $this->match('/class="titlereference-primary-image".*?src="(.*?)".*? \/>/ms', $html, 1);

with:
$arr['poster'] = $this->match('/<meta\s*property=\'og:image\'\s*content="(.*?)" \/>/ms', $html, 1);

@lyarinet
Copy link
Author

change this line image not get working
$arr['poster'] = $this->match('/<meta\sproperty='og:image'\scontent="(.*?)" />/ms', $html, 1);

@Jenkler
Copy link

Jenkler commented Mar 19, 2018

I have tried the patches but non are working. Does anyone here have a working patch for image fetching?

dhobi added a commit that referenced this issue Mar 19, 2018
-> changed from amazon ia.media-imdb.com (dns)
@dhobi
Copy link
Owner

dhobi commented Mar 19, 2018

The matcher was still valid. It was just that the DNS name for the image has changed. Hope the lastest commit fixes this for you.

@dhobi dhobi closed this as completed Mar 19, 2018
@Jenkler
Copy link

Jenkler commented Mar 19, 2018

Updated the code, works now! Thanks :)

@lyarinet
Copy link
Author

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants