mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-03 23:25:06 +00:00
[GooglePlus] fix video title extraction
This commit is contained in:
parent
57bdc730e2
commit
41b610acab
1 changed files with 1 additions and 2 deletions
|
@ -52,8 +52,7 @@ def _real_extract(self, url):
|
||||||
|
|
||||||
# Extract title
|
# Extract title
|
||||||
# Get the first line for title
|
# Get the first line for title
|
||||||
video_title = self._html_search_regex(r'<meta name\=\"Description\" content\=\"(.*?)[\n<"]',
|
video_title = self._og_search_description(webpage).splitlines()[0]
|
||||||
webpage, 'title', default='NA')
|
|
||||||
|
|
||||||
# Step 2, Simulate clicking the image box to launch video
|
# Step 2, Simulate clicking the image box to launch video
|
||||||
DOMAIN = 'https://plus.google.com/'
|
DOMAIN = 'https://plus.google.com/'
|
||||||
|
|
Loading…
Reference in a new issue