- title = self._html_search_regex(
- r'<!-- title -->\n\s*<h1[^>]*>(.*?)</h1>', webpage, 'title')
- description = self._og_search_description(webpage)
+ description = self._html_search_regex(
+ [
+ # The full description
+ r'<div class=\'expandable\'>(.*?)<a href=\'#\'',
+ # If the description is small enough the other div is not
+ # present, otherwise this is a stripped version
+ r'<p class=\'initial\'>(.*?)</p>'
+ ],
+ webpage, 'description', flags=re.DOTALL)