resolving stream2k.com links help please

msenoz

New member
Sep 26, 2012
35
0
0
I'm have been trying to resolve stream2k.com links, media url but no success,
any idea how to resolve below link? without using any extra plugin.

urlresolver seems solving these links but I couldn't get it worked.

http://www.movie2k.to/Lawless-watch-movie-1772547.html

http://embed.stream2k.com/fs6fIQpevCanDF6NhQsvH_uhjQDc7ZmxSv9H83Q84Z9ZYOcn67EH9piZfODd092g?s=V_YeRXg4LbDi9​zbKRD2D2Q&e=1348444898

http://server21.stream2k.com/dl3/hpxoxRu7Jk4rGabLVHPVE7IpZaQ4fmZuAgqYF2rWLUPQd0icq2GiIYtWxEq24Ro520gdQrFDzNz3sSOA​MGmN3dUocX9WCLremh2-_xw7KLE=.flv


any support would be appreciated.
 

humla

New member
May 10, 2012
16
0
0
Okay, To get the stream link for stream2k in this page
http://www.movie2k.to/Lawless-watch-movie-1772547.html

In that page we get html which contains something like this:
.....
<iframe width=100% height=320px frameborder="0" scrolling="no" src="http://embed.stream2k.com/jSSG8pdLI49E-CqW27-EHv_dfBNeFO_QE1HSHpkKIN3AjyGzLnajJeQm8lSmTfwI?s=OhSuzMbBlU3DjBaYGu2X9A&e=1348709956"></iframe><BR></div> <div id="underplayer">
....


Make a request to that link making sure u set the referer is set to the original page.


Then u get a page with this content.
....
<param name='allowscriptaccess' value='always'>
<param name='bgcolor' value='#eeeeee'>
<param name='wmode' value='opaque'>
<param name='flashvars' value='file=http://server30.stream2k.com/dl3/_1yUvwNPyq6zNFvAC_T2ZO5XawfnI6HFPELRSMeJCJ-o0Jxx09er7UtMXUjkv9XsITpc5pxWPosGaxW0AKJ-RHDI0UGWckBSFd1IM4e29LI=.flv&bufferlength=10&controlbar.position=over&icons=true&provider=http&stretching=uniform'>
<embed
id='mediaplayer1'
name='mediaplayer2'
src='player.swf'
width='640'
height='320'
allowfullscreen='true'
....

Bingo there is the stream link. Try it in VLC. It should work.
Sorry if this is too confusing and manual. Dont know how much of this URLresolver does.
</div>
 

tuxen

Banned
Mar 23, 2012
2,235
0
0
Denmark
Urlresolver should be much much easier to use especially in the long run.. Better to get help for that. Maybe the resolvers are broken, I have not seen a plugin that uses those so maybe some stuff got altered.
 

Bstrdsmkr

New member
Mar 16, 2012
763
0
0
You just need to go "down one level" in the process that humla described. From the page you're starting with, grab the link from the first spot that Humla mentioned: http://embed.stream2k.com/jSSG8pdLI49E-CqW27-EHv_dfBNeFO_QE1HSHpkKIN3AjyGzLnajJeQm8lSmTfwI?s=OhSuzMbBlU3DjBaYGu2X9A&e=1348709956

Feed that link (or a list of them!) to urlresolver and you can get back either a list of links it can resolve, or the final (playable) url that Humla mentioned last: http://server30.stream2k.com/dl3/_1yUvwNPyq6zNFvAC_T2ZO5XawfnI6HFPELRSMeJCJ-o0Jxx09er7UtMXUjkv9XsITpc5pxWPosGaxW0AKJ-RHDI0UGWckBSFd1IM4e29LI=.flv&bufferlength=10&controlbar.position=over&icons=true&provider=http&stretching=uniform
 

msenoz

New member
Sep 26, 2012
35
0
0
Okay, To get the stream link for stream2k in this page
http://www.movie2k.to/Lawless-watch-movie-1772547.html

In that page we get html which contains something like this:
.....
<iframe width=100% height=320px frameborder="0" scrolling="no" src="http://embed.stream2k.com/jSSG8pdLI49E-CqW27-EHv_dfBNeFO_QE1HSHpkKIN3AjyGzLnajJeQm8lSmTfwI?s=OhSuzMbBlU3DjBaYGu2X9A&e=1348709956"></iframe><BR></div> <div id="underplayer">
....


Make a request to that link making sure u set the referer is set to the original page.


Then u get a page with this content.
....
<param name='allowscriptaccess' value='always'>
<param name='bgcolor' value='#eeeeee'>
<param name='wmode' value='opaque'>
<param name='flashvars' value='file=http://server30.stream2k.com/dl3/_1yUvwNPyq6zNFvAC_T2ZO5XawfnI6HFPELRSMeJCJ-o0Jxx09er7UtMXUjkv9XsITpc5pxWPosGaxW0AKJ-RHDI0UGWckBSFd1IM4e29LI=.flv&bufferlength=10&controlbar.position=over&icons=true&provider=http&stretching=uniform'>
<embed
id='mediaplayer1'
name='mediaplayer2'
src='player.swf'
width='640'
height='320'
allowfullscreen='true'
....

Bingo there is the stream link. Try it in VLC. It should work.
Sorry if this is too confusing and manual. Dont know how much of this URLresolver does.
</div>
@humla, many thanks for your great trick it worked like a charm.
 

Eldorado

Moderator
Staff member
May 7, 2012
990
0
16
For that site you will want to use URLResolver due to the number of various hosts they have to make it easier on yourself, no need to rewrite what has already been done for you
 

msenoz

New member
Sep 26, 2012
35
0
0
@Eldorado, ofcourse I would like to use urlresolver if I were trying to write a plugin for XBMC.
But 'm trying to write a module for nstreamvod which is a plugin for enigma2 sattelite receivers like dreambox,
maybe you are aware of it.

I wish I could adapt urlresolver to this plugin, which wuld be perfect but at least for now I can't.