Skip to content

Commit

Permalink
[cien] fix extraction when authenticated (#5934)
Browse files Browse the repository at this point in the history
'articleBody' doesn't always contain the entire article, it seems.
  • Loading branch information
mikf committed Aug 3, 2024
1 parent 5f6a891 commit 008f644
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gallery_dl/extractor/cien.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def items(self):
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])
Expand Down
2 changes: 1 addition & 1 deletion gallery_dl/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 008f644

Please sign in to comment.