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

**Title: Error downloading Twitter Space recording: HTTP 400 and EXTINF segment errors** #109

Open
rasrobo opened this issue Apr 17, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@rasrobo
Copy link

rasrobo commented Apr 17, 2024

Hello,

I'm experiencing issues with the twspace_dl tool while trying to download recordings from Twitter Spaces. Despite ensuring my cookie file is up-to-date and correctly formatted, I am encountering persistent errors.

Error Description:

The tool throws multiple errors during the download process, notably failing to parse the EXTINF value of HLS segments and returning HTTP 400 Bad Request errors. Here's a snippet of the error log:

[hls @ 0xaddress] Cannot get correct #EXTINF value of segment [URL], set to default value to 1ms.
[https @ 0xaddress] HTTP error 400 Bad Request
hls @ 0xaddress] Failed to open segment [index] of playlist 0

Attempts to Resolve:

  • Checked and verified the cookie file is correct.
  • Tried using the tool across different network settings to rule out network-related issues.

Questions:

  1. Has there been any change in how Twitter handles HLS streams that I might be unaware of?
  2. Is there an update to the tool or a patch available that addresses these new changes?
  3. Could anyone suggest alternative tools or methods to download Twitter Space recordings?

Any help or guidance on this would be greatly appreciated as this tool is critical for my usage scenario. Thank you!

@rasrobo rasrobo added the bug Something isn't working label Apr 17, 2024
@rasrobo
Copy link
Author

rasrobo commented Apr 17, 2024

twspace_dl -i 'https://twitter.com/i/spaces/1LyxBnrkXOjxN' -o '/mnt/d/Documents/2024-04-16A.m4a' --input-cookie-file /mnt/d/Documents/X\ Spaces\ Recordings/cookie/x_cookie.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants