From b2d8a54ecf4157570d00a8b974a779766822bf4b Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Mon, 3 Oct 2022 04:08:41 -0400 Subject: New upstream version 1.23.2 --- gallery_dl/extractor/plurk.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gallery_dl/extractor/plurk.py') diff --git a/gallery_dl/extractor/plurk.py b/gallery_dl/extractor/plurk.py index f2e964d..535fae9 100644 --- a/gallery_dl/extractor/plurk.py +++ b/gallery_dl/extractor/plurk.py @@ -1,6 +1,6 @@ # -*- coding: utf-8 -*- -# Copyright 2019-2020 Mike Fährmann +# Copyright 2019-2022 Mike Fährmann # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as @@ -85,7 +85,7 @@ class PlurkTimelineExtractor(PlurkExtractor): def plurks(self): url = "{}/{}".format(self.root, self.user) page = self.request(url).text - user_id, pos = text.extract(page, '"user_id":', ',') + user_id, pos = text.extract(page, '"page_user": {"id":', ',') plurks = self._load(text.extract(page, "_PLURKS = ", ";\n", pos)[0]) headers = {"Referer": url, "X-Requested-With": "XMLHttpRequest"} -- cgit v1.2.3