Rudloff / alltube

Web GUI for youtube-dl
GNU General Public License v3.0
2.96k stars 582 forks source link

Facebook error download #382

Closed mikagrand closed 2 years ago

mikagrand commented 2 years ago

New issue

Your environment

Please answer these questions when reporting a new issue:

What is your operating system (Windows, Linux, OSX, etc.)?

What is your web server (Apache, IIS, etc.)?

What version of AllTube are you using?

How did you install AllTube (with Git or with a release package)?

What version of PHP are you using?

What version of Python are you using?

What version of youtube-dl are you using?

Do you get any PHP-related errors in your webserver's logs?

What is the content of your config/config.yml file?

# Insert content here.

Please provide the URL of a video that causes the issue.

Hello, Now the the regular facebook video url your script face an error, i think this error come frome your script:

Facebook url: https://www.facebook.com/MimiMefoInfo/videos/we-leave-you-tonight-with-this-heartwarming-video-of-sierra-leone-goalkeeper-moh/921026192137820/

your script error url: https://alltubedownload.net/info?url=https%3A%2F%2Fwww.facebook.com%2FMimiMefoInfo%2Fvideos%2Fwe-leave-you-tonight-with-this-heartwarming-video-of-sierra-leone-goalkeeper-moh%2F921026192137820%2F So, when i you will click on the "Download" or "More options" button you will see an error, but when you click on video name the video stream appear.

Also on my website i get this error: /app/.heroku/python/bin/python' 'vendor/ytdl-org/youtube-dl/youtube_dl/main.py' '--no-warnings' '--ignore-errors' '--flat-playlist' '--restrict-filenames' '--no-playlist' '--dump-single-json' 'https://scontent-lcy1-2.xx.fbcdn.net/v/t66.36240-6/10000000_927618357958639_1214887065122331408_n.mp4?_nc_cat=100' '-f' 'best[protocol=https]/best[protocol=http]/bestvideo[protocol=https]/bestvideo[protocol=http]' failed with this error:ERROR: [facebook] 224496296117371: 224496296117371: Failed to parse XML (caused by ParseError('not well-formed (invalid token): line 3, column 1519'))

So can you help me fix.

Thanks.