-
-
Notifications
You must be signed in to change notification settings - Fork 180
Open
Description
YouTube is returning two <title> elements in their HTML.
The "metascraper-youtube" sets the title value using:
$('title').text().replace(' - YouTube', '');This returns both <title> elements and .text() appends them together.
If ":first" is added to the selector, only the first instance is returned.
$('title:first').text().replace(' - YouTube', '');Metadata
Metadata
Assignees
Labels
No labels