Sign up here and you can log into the forum!

DailyMotion Plugin

UMSP Plugin Depot, the place for sharing plugins & info about them. No requests, just plugins/code.

Re: DailyMotion Plugin   

Postby nicandmih » Wed Dec 28, 2011 2:49 am

Hi, u ask about OP? what is OP?
nicandmih
Donor
 
Posts: 269
Joined: Sun Apr 11, 2010 10:46 am
Location: Romania, Constanta

Re: DailyMotion Plugin   

Postby wdtvliveplus » Wed Dec 28, 2011 12:19 pm

nicandmih wrote:Hi, u ask about OP? what is OP?

Alright, I now see where you guys could have gotten confused..
OP -> Original Poster/Original Post : http://www.urbandictionary.com/define.php?term=OP

All I wanted was a link to such details in the first post of this topic. Over and out!
User avatar
wdtvliveplus
WDTVer
 
Posts: 35
Joined: Sun Oct 17, 2010 10:18 am

Re: DailyMotion Plugin   

Postby t3rror_ » Thu Jun 07, 2012 3:48 pm

I get the similar log dump for all dailymotion videos I've tried to play:

2012.06.07 23:37:28 dailymotion-proxy - v = http://www.dailymotion.com/video/xrcv6t_kumkumapoovu_shortfilms
2012.06.07 23:37:29 dailymotion-proxy - Found sdURL: http:\/\/www.dailymotion.com\/cdn\/H264-512x384\/video\/xrcv6t.mp4?auth=1339285052-aabe3fafc7e87f3d4499d83d11fb3ab8","cdnslb":"http:\/\/xrcv6t.vdo.as41690.net\/crossdomain.xml
2012.06.07 23:37:29 dailymotion-proxy - Selected highest quality: 360P
2012.06.07 23:37:29 dailymotion-proxy - url=http://www.dailymotion.com/cdn/H264-512x384/video/xrcv6t.mp4?auth=1339285052-aabe3fafc7e87f3d4499d83d11fb3ab8","cdnslb":"http://xrcv6t.vdo.as41690.net/crossdomain.xml
2012.06.07 23:37:29 dailymotion-proxy - ProxyGet http://www.dailymotion.com /cdn/H264-512x384/video/xrcv6t.mp4
2012.06.07 23:37:29 dailymotion-proxy - Redirecting to http://vid.ak.dmcdn.net/video/529/949/45949925_mp4_h264_aac.mp4?primaryToken=1339119452_1c481b219d8a8810a5534e64f26a9eae
2012.06.07 23:37:29 dailymotion-proxy - ProxyGet vid.ak.dmcdn.net /video/529/949/45949925_mp4_h264_aac.mp4
2012.06.07 23:37:29 dailymotion-proxy - Received unsupported response while getting the video: HTTP/1.0 403 Forbidden

2012.06.07 23:37:29 dailymotion-proxy - /video/529/949/45949925_mp4_h264_aac.mp4


I'm in Canada. Does this make sense to anyone? I cant seem to access this server at vid.ak.dmcdn.net
t3rror_
n00b
 
Posts: 5
Joined: Wed Jun 06, 2012 6:42 pm

Re: DailyMotion Plugin   

Postby t3rror_ » Fri Jun 08, 2012 10:25 am

Is it possible to use the php sdk provided by dailymotion to do this?

https://github.com/dailymotion/dailymotion-sdk-php

I am not that familiar with PHP so dont really know how helpful this will be.
t3rror_
n00b
 
Posts: 5
Joined: Wed Jun 06, 2012 6:42 pm

Re: DailyMotion Plugin   

Postby mad_ady » Tue Jun 19, 2012 9:26 pm

I had a quick look over the sdk code and it seems to handle authentication, file uploads and navigation around the site. It doesn't have any function to get the video url. This means it wouldn't make any difference for the forbidden problem.

Unfortunately there is no elegant/official solution to getting the video URLs, because most sites do their best to hide them from scrapers like us (so you would have to use a javascript player to get it).
User avatar
mad_ady
Developer
 
Posts: 3000
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: DailyMotion Plugin   

Postby helloworld123 » Tue Jun 26, 2012 8:29 am

I have tried to test the issue we have with Dailymotion proxy and the plugins based on this(indiantv etc). We are getting 403 forbidden on redirected URL, but when i tried the same redirected URL on wdtv with curl and wget, its working fine. So it looks like the problem with the fsopen, can we use cURL in dailymotion proxy instead of fsopen? i even tried to add back the cookies after looking in cookie manager in firebug extension. I like to do it more on this but have limited knowledge of PHP, I am more comfortable with java. i even created the java based program to download the video...


Appreciate any help!!
User avatar
helloworld123
WDTVer
 
Posts: 26
Joined: Tue Jun 26, 2012 8:11 am

Re: DailyMotion Plugin   

Postby helloworld123 » Tue Jun 26, 2012 8:41 pm

Nevermind!! :D :mrgreen: fixed the issue, using never dying dev instinct. now everything is working including indian channels, will test this fix for some days. And with due permission from developer of this plugin will checkin the fix to svn repo....

Thanks for the wonderful platform to work on....

restless from few days, now relaxed.. ;) :mrgreen:
User avatar
helloworld123
WDTVer
 
Posts: 26
Joined: Tue Jun 26, 2012 8:11 am

Re: DailyMotion Plugin   

Postby mad_ady » Tue Jun 26, 2012 9:22 pm

@helloworld123: When you are confident on the fix, and after you've tested it, post the diff on this thread and I or the plugin creator will merge the changes into the svn repository.
Thanks.
User avatar
mad_ady
Developer
 
Posts: 3000
Joined: Fri Nov 05, 2010 9:08 am
Location: Bucharest, Romania

Re: DailyMotion Plugin   

Postby eskay » Fri Jun 29, 2012 10:44 am

helloworld123 wrote:Nevermind!! :D :mrgreen: fixed the issue, using never dying dev instinct. now everything is working including indian channels, will test this fix for some days. And with due permission from developer of this plugin will checkin the fix to svn repo....

Thanks for the wonderful platform to work on....

restless from few days, now relaxed.. ;) :mrgreen:


That's gr8... pl. post the fix... so others also get benefit...
User avatar
eskay
Developer
 
Posts: 130
Joined: Mon Aug 02, 2010 12:56 pm
Location: SWITZERLAND

Re: DailyMotion Plugin   

Postby Gui » Sun Jul 08, 2012 9:55 am

Great work.

Can you post the fix please.

Edit: If someone interested in the latest tabonito plugin version there is a fast dirty working solution.
User avatar
Gui
Developer
 
Posts: 161
Joined: Wed Jan 11, 2012 4:19 pm
Location: Hellgarve

PreviousNext

Return to UMSP Plugins

Who is online

Users browsing this forum: No registered users and 2 guests