|
|
@@ -4,10 +4,10 @@ if(!$response){
|
|
|
return
|
|
|
}
|
|
|
let html = $response.body || '';
|
|
|
-let regex = /<a class="tgme_action_button_new shine" href="([^"]+)">([^<]+)<\/a>/;
|
|
|
+let regex = /<a class="tgme_action_button_new shine" href="([\S]+)">([^<]+)<\/a>/;
|
|
|
|
|
|
console.log("###tglinks###");
|
|
|
-let regex = /<div class="tgme_page_action">\s*<a class="tgme_action_button_new shine" href="([^"]+)">([^<]+)<\/a>\s*<\/div>/;
|
|
|
+let regex = /<div class="tgme_page_action">\s*<a class="tgme_action_button_new shine" href="([\S]+)">([^<]+)<\/a>\s*<\/div>/;
|
|
|
let matches = html.match(regex);
|
|
|
if (matches) {
|
|
|
let allContent = matches[0];
|