-
-
Notifications
You must be signed in to change notification settings - Fork 541
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
18+/"sensitive" tweets no longer available #829
Comments
I believe this may not be due to a Nitter change. There's been a change Twitter has made that places 18+ content behind an age verification check. Since there's no way they can verify that users (that consume content from their API) are of appropriate age, they just dont include them. |
|
I can't believe that that's entirely correct, I still see some thumbnailing services, such as vxtwitter, fxtwitter, still functioning in this case. That said, I also note it started occurring on nitter.net itself a few days ago while it only seemingly just started hitting some mirror sites, so I suppose it's possible that it's a slow rollout, but it's still also possible these other sites are doing something that nitter isn't |
IIRC based on some warnings I've seen when using yt-dlp plus other stuff:
Edit: nitter.net uses more graphql endpoints than most instances because it's running a dev version |
Will the workaround be added to the browser instances? |
Idk,. I haven't found one instance that works now. |
That is definitely the case. I tried them all and a few unofficial ones. And some of the ones I tested have not been updated in months. Mine has my workaround already applied and works tho. |
How does the workaround… work? Whose credentials are used? |
The administrator of the respective instance needs to create a Twitter account, sign in and then put their session information into Nitter's configuration file. This session information will then basically be shared for all users. It's the instance's Twitter account, if you will. As an end user, you shouldn't need to do anything. |
Won't that lead to severe rate limiting, though? |
It seems like that does indeed happen sometimes. But for the most part it seems like it's actually working fairly well for my instance. But I am not yet aware of any other satisfying workaround for that problem. Forcing a user to login and get tracked is not really a satisfying solution for me. I see the following general solutions for this problem, personally:
|
Luckily, the workaround works but it's unfortunately very slow. |
indeed, slow. probably rate limited already I guess unfortunately. I am waiting so far 5 minutes for a vid clip to play. gonna have to give up At least the tweet comes up tho, TYVM |
What about a voluntary system - ask for a login to increase the rate limit, but fall back on a set account if no login is provided? I use Nitter mostly for its RSS feeds. Since I have a lot of NSFW accounts as feeds, some of whom tweet frequently, the frequency by which I ask for tweets is probably a major reason why the instance is so slow. If I could somehow pass my own credentials when fetching those RSS feeds, even if it meant I was tracked, I'd do it if that meant a faster or more reliable system with less caching for all. Perhaps users willing to forgo the non-tracking nature could put a query string at the end of the URL for the RSS feed, containing the exact ct0, auth_token and csrf-token, and the server could use those credentials instead of its own if all are present. |
I just made it so that videos aren't proxied anymore by default on my server to take some load off of it, make it so that people can actually watch videos again on my instance and to hopefully make Twitter not rate limit my instance as harshly. And I also made it so that the request of userIds is made unauthenticated. Hopefully that makes it so the instance doesn't get rate limited as fast anymore as well. |
A URL-based solution would work the best for my needs, if possible. |
Thanks for that Now working flawlessly Hopefully it can last but appreciate what you're doing nonetheless! |
The search tab still shows the complete feed. Could fetching this way be a workaround? However, it seems to depend on the region again, e.g. US works, DE does not. |
That bizarrely works (not with nitter.net but with other instances at least) and adding the "/rss" at the end cleanly enables rss functionality lol thank you very much for this. |
I understand that the solution that is being proposed will probably only be applied by a minority of instances, right? I see a problem and that is that the +18 tweets seem to disappear completely. I don't know about the web, but in the RSS feed there is not a single reference. This implies that users, far from being able to look for an alternative, won't even be aware of the problem. Would it be possible for +18 tweets to be included without content (only metadata), even if the instance does not use an account? |
That's a great find! The only thing that seems to be missing there is the pinned tweet. |
And threads and retweets unfortunately also don't show up properly in the search |
Unrelated to the last few posts: It's probably also worth noting that NSFW users don't show up in the search |
Search uses a non-GraphQL endpoint, hence why it isn't affected in the same way. I've considered using search for timelines before, but it provides a much worse experience and is less reliable. I'll look into including sensitive tweets in timelines/RSS instead of omitting them. I looked into this issue to understand it better, and it seems there's no way around it when using the GraphQL APIs, except authenticating with an account (which supposedly stays working even after the account gets suspended). |
Hmm, doesn't appear like it's working for me. Anything I'm doing wrong or is this an issue on your end? |
Hmm, doesn't appear like it's working for me. Anything I'm doing wrong or is this an issue on your end? The global search doesn't show nsfw results. That didn't even work when I tried doing it with my usual authentication headers for some reason. When you access a profile directly, it should work tho (unless one of my instances / accounts (signified by the number in the parenthesis) is currently rate limited). |
Twitter blocks certain searches, including that hashtag. You can check by doing it on Twitter and checking the adaptive.json response in devtools, which should contain an error about the query being invalid. |
Can we get a hub.docker.com image? |
I read this discussion, but I still don't understand where to put the "session" information ? |
Are there any pubic instances yet that show NSFW twitter posts? cuz twitter (nitter) without NSFW is just as useless as tumblr without it |
@SMylk I am thinking about it. |
Thank you, I see you add a PR, I think will wait to get it to the main line. |
I would like to request for this option to be added. I personally already have a Twitter account which I use to follow artists but I use nitter to open their feed without having to use lots of CPU such as when using the normal Twitter page. Having an optional setting would allow me to log in and get the content that I want without killing my PC. |
@PrivacyDevel I found some tweets were still age locked even when using the NSFW3 instance. Interestingly, only some of these tweets are locked but others are properly shown |
Thank you for bringing this to my attention. I've never seen this before and was not able to reproduce it either. I feel like I know why this is happening tho. I guess the NFSW instances reused the data from the redis cache that is shared between all of the instances. |
Tweets aren't cached, only pinned tweets, and they are never reused as part of the timeline if they show up again. |
Hm ok. Thank you for this info @zedeus. Then I actually don't know what might've caused this.. |
What about when it shows "This tweet is unavailable"? is it the rate limit? cuz sometimes I get an RSS with a tweet (which is shown fine there), but when I open it on nitter (privacydev) it says "unavailable", but on twitter itself it shows fine If I try |
@Owyn you'd have to provide an example for me to know |
is it possible to add support for multiple accounts to get around the rate-limit? |
Fixed. |
Checked a dozen instances. Not actually fixed. |
Depends on the country the instance runs in, and potentially the country from which its guest accounts were made, haven't tested that. |
Can confirm that generating from the Netherlands and/or Finland (I mixed them, cant know which one worked) works with nsfw accounts |
Any 18+ Tweet that could be viewed before can't be any longer, did some update age restrict them? If so, then how do I switch it off?
The text was updated successfully, but these errors were encountered: