Quote:
Originally Posted by Makc666
The Geek, 1st, I am much appreciated that you speak with me.
2nd, I understand that for the current moment the dailymotion can work only with "Regular expression". This is 100% clear for me.
3rd, I am just trying based on dailymotion to make it working also with "Extract destination data".
As I understand this one can be done so?
And at this point I meet with the problem.
Here is my test case.
- I use URL
http://www.dailymotion.com/video/x9m63m_canarias-timelapse_creatio
- There in HTML Source I see:
HTML Code:
<link rel="canonical" href="/video/x9m63m_canarias-timelapse_creation" />[*]
- I am trying to get the needed video name from this line.
- So I make:
- Regular expression
PHP Code:
http://[w\.]*dailymotion\.[com|alice\.it]+/[\w/\-%]*video/([\w\-]+)
- Extract destination data
Yes
- Embedding Regexp
PHP Code:
<link rel="canonical" href="/video/([a-z_0-9-]+)"
- I also tried:
PHP Code:
href="/video/([a-z_0-9-]+)"
And this one doesn't work.
I am trying to understand - why?
What I am doing wrong? 
|
I don't think I totally understand what you are trying to do. The embed Regexp is designed to extract important parameters from a web page where the URL doesnt contain enough data that it needs. This feature won't extract other information for other uses (i.e. the title), though I suppose I could add a hook into the system which would make it easier.