TimidScript / UserScripts

Userscripts for: Pixiv, DeviantArt, Nijie.info, NicoVideo Seiga,Google, Youtube and more
Other
73 stars 10 forks source link

Pixiv++ stopped showing download links #19

Open HouyiTheArcher opened 6 years ago

HouyiTheArcher commented 6 years ago

Hi! Recently Pixiv++ script stopped showing download links on image pages. Things are broken on both Firefox ESR and latest Chromium. Console shows this:

Pixiv++ Initalising member_illust.php:3888:13 Containers: NodeList [ <ul._image-items> ] member_illust.php:2150:17 Error running script: [TS] Pixiv++ V3 alpha TypeError: doc.querySelector(...) is null doc.querySelector(...) is null member_illust.php:3:14727 i https://www.pixiv.net/member_illust.php:3:14727 t/< https://www.pixiv.net/member_illust.php:3:9864 value https://www.pixiv.net/member_illust.php:3:16357 <анонимная> https://www.pixiv.net/member_illust.php:1:47 <анонимная> https://www.pixiv.net/member_illust.php:1:2 o https://www.pixiv.net/member_illust.php:3:15994 module.exports</t.b/< https://www.pixiv.net/member_illust.php:3:16222 t https://www.pixiv.net/member_illust.php:3:9877 a https://www.pixiv.net/member_illust.php:3:9946 n/u.a.load https://www.pixiv.net/member_illust.php:3:10078

Jatts-Art commented 6 years ago

hate to say it man, but i think this script is dead now... lol

Barafag commented 6 years ago

Change line 457 to metadata.account = doc.querySelector("ul.tabs > li > a[href*='/stacc/']").href.replace(/.+\/stacc\//, "");

HouyiTheArcher commented 6 years ago

@Barafag Thank you, this fixed the script!

TimidScript commented 6 years ago

I am sorry, due to personal issues I have been unable to work on anything for quite sometime. I do not know when I can get back to scripting. Thank you for understanding.