Help on scraping flash video
#1
Hi guys,
I'm sorry if this is a stupid question. I've managed to create a simple plugin before, but the video was direct avi link.

This is my first foray into flash links. I want to make a simple video addon to browse the videos from http://www.yearmix.net.

A video embed example from the website:
<script type="text/javascript" src="http://www.yearmix.net/js/embed.js.php?id=2405"></script><noscript><object type="application/x-shockwave-flash" data="http://www.yearmix.net/vimp.swf?playlistmode=media&amp;mediaid=2405&amp;webtv=false&amp;hosturl=http%3A%2F%2Fwww.yearmix.net%2Fflashcomm.php" id="flashcontent_4f15c5131d98b" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" name="c6a80378-3eb2-47e7-8415-ba1f7cff037e" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="480" height="360" align="middle"><param name="movie" value="http://www.yearmix.net/vimp.swf?playlistmode=media&amp;mediaid=2405&amp;webtv=false&amp;hosturl=http%3A%2F%2Fwww.yearmix.net%2Fflashcomm.php" /><param name="width" value="480" /><param name="height" value="360" /><param name="align" value="middle" /><param name="quality" value="high" /><param name="allowscriptaccess" value="always" /></object></noscript>

What tools/methods do I use to determine the video link that XBMC would use? Once I'm steered in the right direction, I can go from there.

Thanks,
LordIndy
Reply
#2
Looks like you can use

http://www.yearmix.net/media/video/$mediaID.flv

where $mediaID is the one you grab for your video. For example in the embed you posted is 2405.

I tested real quick in vlc and it worked. So I am hoping that would work with XBMC too.

P.S: Use wireshark, learn how to use it. It's great.
Reply
#3
Excellent tip. Thanks. I've got wireshark..didn't know what to look for.


Cheers,
Reply
#4
I did download Wireshark, but just could not figure out know how to use it. Any proper guides somewhere. Their help is not quite simple.
Reply

Logout Mark Read Team Forum Stats Members Help
Help on scraping flash video0