Avnsx / fansly-downloader

Easy to use fansly.com content downloading tool. Written in python, but ships as a standalone Executable App for Windows too. Enjoy your Fansly content offline anytime, anywhere in the highest possible content resolution! Fully customizable to download in bulk or single: photos, videos & audio from timeline, messages, collection & specific posts 👍
https://fansly.com/
GNU General Public License v3.0
1.27k stars 64 forks source link

Problem with downloading m3u8 videos #171

Open AlexMariacio opened 11 months ago

AlexMariacio commented 11 months ago

Tried to download quite recent (from 20.10.2023) content pics and gifs works well, but videos don't. Although some older posts with m3u8 videos were downloadable. So after trying to download - i got this:

Traceback (most recent call last): File "fansly_downloader.py", line 1189, in File "fansly_downloader.py", line 744, in sort_download File "fansly_downloader.py", line 618, in download_m3u8 IndexError: tuple index out of range.

Please help.

AlexMariacio commented 11 months ago

*File "fansly_downloader.py", line 1189, in < module >

alexeyrubenoff commented 10 months ago

I think this happens with videos that don't have an audio track - when i changed the line audio_stream = input_container.streams.audio[0] to audio_stream = input_container.streams.video[0]

the download succeeded.

AlexMariacio commented 10 months ago

I think this happens with videos that don't have an audio track - when i changed the line audio_stream = input_container.streams.audio[0] to audio_stream = input_container.streams.video[0]

the download succeeded.

Thank you very much for the answer, but where you change this line? There is no file except "config" where you can change settings.

Darihx commented 9 months ago

I think this happens with videos that don't have an audio track - when i changed the line audio_stream = input_container.streams.audio[0] to audio_stream = input_container.streams.video[0]

the download succeeded.

I did this but now all the videos are downloaded without sound xd