[cien] fix extraction when authenticated (#5934)

'articleBody' doesn't always contain the entire article, it seems.
pull/3467/merge
Mike Fährmann 2 months ago
parent 5f6a8915af
commit 008f644ba3
No known key found for this signature in database
GPG Key ID: 5680CA389D365A88

@ -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])

@ -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

Loading…
Cancel
Save