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

Error When Downloading Gif/Videos #34

Open
DReaper opened this issue Sep 17, 2023 · 7 comments
Open

Error When Downloading Gif/Videos #34

DReaper opened this issue Sep 17, 2023 · 7 comments
Labels
bug Something isn't working partially-fixed

Comments

@DReaper
Copy link

DReaper commented Sep 17, 2023

When I attempt to save a gif/video, a Gray error box appears. I was able to download a while ago.

I can download images with no issues.

@AlttiRi
Copy link
Owner

AlttiRi commented Sep 17, 2023

Do you use FF + VM?

Seems, it's an issue with Violentmonkey / Firefox:
violentmonkey/violentmonkey#1895

@AlttiRi AlttiRi added the bug Something isn't working label Sep 17, 2023
@AlttiRi
Copy link
Owner

AlttiRi commented Sep 17, 2023

BTW, I see, that the current API calls do not work for anonymous users.
I need to use some other API to add the support to non-logged-in users will be able to download videos.

@AlttiRi
Copy link
Owner

AlttiRi commented Sep 17, 2023

I fixed the bug with VM + FF 1195481.

It was appeared from this commit: d74e7c2.
It was unexpected that the simplesearchParams.keys method may not work in FF's content script context.

@AlttiRi
Copy link
Owner

AlttiRi commented Sep 17, 2023

Well, Elon Musk have returned the ability to use Twitter without requirement to be logged-in.
I will check how to download the videos in this case later.

@DReaper
Copy link
Author

DReaper commented Sep 17, 2023

Looks like the update fixed it! Much appreciated for the fast response.

@Erfaniom
Copy link

my script has also started to do this, when i click the button it instantly turns into error

@AlttiRi
Copy link
Owner

AlttiRi commented Aug 17, 2024

my script has also started to do this, when i click the button it instantly turns into error

Are you logged in?
Currently, the video download does not work only if you do not log in to your Twitter account.

Also, if you use Firefox + ViolentMonkey you may need to enable "Strict Tracking Protection Fix" in the settings popup.
https://github.com/AlttiRi/twitter-click-and-save?tab=readme-ov-file#if-the-script-does-not-work

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

No branches or pull requests

3 participants