matiassingers / slack-movie

slack command for showing movie data
MIT License
14 stars 4 forks source link

IMDB poster images #1

Open djedi opened 9 years ago

djedi commented 9 years ago

I've done some testing and found that Slack is just not unfurling the IMDB image urls. I've sent a support request to Slack to see if they can explain why or possibly fix the issue.

djedi commented 9 years ago

Response from slack:

It appears that IMDb is blocking access to those images for our unfurler, though we're not sure why.

I'm afraid there's not much we can do about this, though you may be able to reach out to them to find out why they're explicitly blocking them.

matiassingers commented 9 years ago

Wow, that's so weird - that's a new thing they started doing. Let me try and look into that and see if I can find a solution.

Thanks for reporting this @djedi!

djedi commented 9 years ago

I tried setting up node-http-proxy and proxying the image through my heroku server. The proxy seemed to work, but still no luck with the slack unfurler.

Example url: http://uplynk-slack-movie.herokuapp.com/images/M/MV5BMjAxMzY3NjcxNF5BMl5BanBnXkFtZTcwNTI5OTM0Mw@@._V1_SX300.jpg

mallchin commented 8 years ago

Could you search for "film_string movie poster" in Google Images and return the first result? Would work on the most part.

matiassingers commented 8 years ago

@mallchin that should work, I would love to receive a PR :wink: