File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ const videoSelector = '.html5-main-video';
2121const chapterNameSelector = '.html5-video-player .ytp-chapter-title-content' ;
2222const videoTitleSelector = '.html5-video-player .ytp-title-link' ;
2323const channelNameSelector = '#top-row .ytd-channel-name a' ;
24+ const videoDescriptionSelector = '#meta-contents #description' ;
2425
2526// Dummy category indicates an actual category is being fetched
2627const categoryPending = 'YT_DUMMY_CATEGORY_PENDING' ;
@@ -206,7 +207,7 @@ async function readConnectorOptions() {
206207}
207208
208209function getVideoDescription ( ) {
209- return $ ( '#description' ) . text ( ) ;
210+ return Util . getTextFromSelectors ( videoDescriptionSelector ) ;
210211}
211212
212213function getTrackInfoFromDescription ( ) {
You can’t perform that action at this time.
0 commit comments