rg3/youtube-dl — pull request #3022 by MikeCol (2014-05-31 16:50:18+00:00)
Title: title extraction condition less restrictive

The title of the clip is currently found in the first h1 tag with an title attribute. The attribute contains the title of the clip, and usualy this title repeated verbatim after the h1 tag.

This works most of the times, but not always.

If the "clear text" title contains trailing dots, the text within the title attribute does not, and the regex fails.

This patch removes the condition that the text has to be repeated after the h1 tag.

The h1 tag, which contains the title information is still the only one with a title parameter.

[Example](http://www.extremetube.com/gay/video/thug-getting-his-massive-dick-sucked-long-and-hard-gaypridevault-40025)