What's Changed
Added
- Added try-catch error handling to
main()
- Created
getPlaylistMetadataElement
function- The playlist metadata element appears to have a different identifier
depending on if the user has YouTube premium or not - This function will take that into account and use the appropriate selector
to find the metadata element
- The playlist metadata element appears to have a different identifier
- Added
youtubePremium
variant to list ofplaylistMetadata
element selectors - Added translations for
fr
locale, thanks to @pifopi - Implemented sorting by view count & upload date for
fr
locale - Added tests for the
fr
locale parsers
Fixed
- Fixed extension not working for youtube premium layouts
Full Changelog: v2.1.4...v2.2.0