Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- parseTitle(section) {
- // section can be artist name or song name
- let titleParam="";
- titleParam=this.getParam("Title");
- if (titleParam===null) {
- return null;
- } else {
- // Remove these strings from the URL
- titleParam=titleParam.toString().replace(' - [HQ] - YouTube','');
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement