Skip to content

Commit

Permalink
[boosty] fix typo causing 'links' to always be empty (#2387)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikf committed Oct 3, 2024
1 parent 274d99e commit ee8c4e2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gallery_dl/extractor/boosty.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def _process_post(self, post):

elif type == "link":
url = block["url"]
links.appens(url)
links.append(url)
content.append(url)

else:
Expand Down
9 changes: 8 additions & 1 deletion test/results/boosty.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,11 @@
"comments" : dict,
"content" : [
"Привет! Это Милшу ) Я открываю комментарии в своём телеграм канале Милшу ( ",
"https://t.me/milshoonya",
" ) и хочу, чтобы вы первые протестировали его работу :3\nСсылку на вступление в чат оставлю здесь ",
"https://t.me/+Z_5ph-XnIQU2YWMy",
"\nТакже хотела напомнить, что мы собираем деньги на два арта от Ананаси: ",
"https://boosty.to/milshoo/single-payment/donation/550562/target?share=target_link",
"\nБуду очень благодарна за помощь :D  ",
],
"contentCounters": list,
Expand All @@ -85,7 +88,11 @@
"isPublished": True,
"isRecord" : False,
"isWaitingVideo": False,
"links" : [],
"links" : [
"https://t.me/milshoonya",
"https://t.me/+Z_5ph-XnIQU2YWMy",
"https://boosty.to/milshoo/single-payment/donation/550562/target?share=target_link",
],
"price" : 0,
"publishTime": 1711027834,
"showViewsCounter": False,
Expand Down

0 comments on commit ee8c4e2

Please sign in to comment.