Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
proposal for dailymotion #60
Comments
|
User baryluk is the one maitaining the Dailymotion InfoExtractor. He told me he would take a look at this last weekend. I'll point him to this issue. |
|
Yes, proposed change works very well. Other possible way is to use
But I think code given by yvestan will be more resitant to future changes, as it do not depend on actuall layout of page, but some metadata embeded in dailmotion pages - it is called PageMap, and it is xml embeded as comment in html head. there is also other interesting informations there (notably duration in seconds and upload date). So rg3 please include this fix given by initial reporter (line 1305).
Thanks. |
|
Fix dailymotion support (closed by c02d8e4) |
Hello,
I think that Dailymotion has changed its code. the "dcmo_html user" div no longer works but there is a new code in .
Proposal (line 1303):
# mobj = re.search(r'(?im).*?(.+?)', webpage) mobj = re.search(r'(?im)(.+?)', webpage)That's work fine for me