Skip to content

Commit

Permalink
Add music.jsososo connector
Browse files Browse the repository at this point in the history
Closes #2451.
  • Loading branch information
alexesprit committed Jun 20, 2020
1 parent f8e07f9 commit 1c96246
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/connectors/jsososo.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
'use strict';

Connector.playerSelector = '.player-container';

Connector.artistSelector = '.player-song-singer';

Connector.trackSelector = '.player-song-title';

Connector.timeInfoSelector = '.play-time';

Connector.trackArtSelector = '.progress-cover';

Connector.playButtonSelector = '.icon-bofang';
8 changes: 8 additions & 0 deletions src/core/connectors.js
Original file line number Diff line number Diff line change
Expand Up @@ -1511,6 +1511,14 @@ const connectors = [{
],
js: 'connectors/jqbx.js',
id: 'jqbx',
}, {
label: 'music.jsososo.com',
matches: [
'*://y.jsososo.com/*',
'*://music.jsososo.com/*',
],
js: 'connectors/jsososo.js',
id: 'jsososo',
}];

define(() => connectors);

0 comments on commit 1c96246

Please sign in to comment.