Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[subscribestar] Fix attachment download and add support for audio type #6758

Merged
merged 1 commit into from
Jan 2, 2025

Conversation

WyohKnott
Copy link
Contributor

  • We change the text.extr 3rd argument to match current structure ('class="post-edit_form"')
  • We add support for uploads-audios based on a similar structure as the attachment type:
    • id = data-upload-id
    • name = audio_preview-title
    • url = src
    • type = audio

Fix #6721

 - We change the text.extr 3rd argument to match current structure
   ('class="post-edit_form"')
 - We add support for uploads-audios based on a similar structure as the
   attachment type:
    - id = data-upload-id
    - name = audio_preview-title
    - url = src
    - type = audio

Fix mikf#6721
@WyohKnott
Copy link
Contributor Author

Testing was done :

gallery-dl --cookies ~/cookies-subscribestar-adult.txt https://subscribestar.adult/someone --get-urls | wc -l 
47

Which correspond to what I have extracted with:

gallery-dl --cookies ~/cookies-subscribestar-adult.txt https://subscribestar.adult/someone --write-pages

Searching in the page, we do have

  • data-gallery : 13
  • uploads-audios : 33
  • and one image

Which corresponds to the 47 url extracted.

mikf added a commit that referenced this pull request Jan 2, 2025
@mikf mikf merged commit a46f798 into mikf:master Jan 2, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[SubscribeStar.adult] Embeds and attachments not downloading
2 participants