1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2025-01-31 19:51:34 +01:00

[cien] fix extraction when authenticated (#5934)

'articleBody' doesn't always contain the entire article, it seems.
This commit is contained in:
Mike Fährmann 2024-08-03 21:55:36 +02:00
parent 5f6a8915af
commit 008f644ba3
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ class CienArticleExtractor(CienExtractor):
post = util.json_loads(text.extr(
page, '<script type="application/ld+json">', '</script>'))[0]
files = self._extract_files(post.get("articleBody") or page)
files = self._extract_files(page)
post["post_url"] = url
post["post_id"] = text.parse_int(self.groups[1])

View File

@ -6,5 +6,5 @@
# it under the terms of the GNU General Public License version 2 as
# published by the Free Software Foundation.
__version__ = "1.27.2"
__version__ = "1.27.3-dev"
__variant__ = None