1

I have a lot of external links from users, and I need to scrap somehow the video content and generate thumbnail for it to display on my site.

I know this is a simple task with django-oembed, but the list of providers is limited. I need to support sites without oembed too.

So the main task is to determine if page contains the video or no, and generate thumbnail for it.

Can anybody suggest the best way?

Dmitry Demidenko
  • 3,427
  • 1
  • 22
  • 22

1 Answers1

0

You can use Pymedia to extract a frame from the video and PIL to create the thumbnail like suggested here

Community
  • 1
  • 1
circus
  • 2,470
  • 3
  • 21
  • 25
  • generation of thumbnails isn't the problem. Main task is to determine if page contains the video and show thumbnail for remote video on my site – Dmitry Demidenko Oct 12 '11 at 15:01