Closed God-damnit-all closed 4 years ago
Yep, that be fucked. Let's see...
Ugh, they moved the joined date to behind a bunch of chained js operations.
is it easier to access via the old layout? That can still be accessed by forcing the user agent to Mozilla/5.0 (Windows NT 6.3; Trident/7.0; rv:11.0) like Gecko
and creating a rweb_optin
cookie with the value side_no_out
If the old layout is the one without JS, both it and the new layout both are missing the joined date.
What I want is behind a weird graphql
query, but I've not been able to fake the right set of operations to make it not error on me.
I'm like, 90% just going to say you have to use headless chrome to make it work.
If you're going to overhaul the twitter protocol, do you think you could make it start using user ids instead of usernames?
Here's a weird idea... how about a Twitter account that interfaces with a github.io page under your control that forwards basic API requests for all xA-Scraper users, essentially acting as a proxy?
Not for stuff for retrieving tweets, just for stuff like, user info. Join dates, retrieving usernames by user id, etc.
That's way, way more work then just using the existing headless chrome stuff I've already written and is even already a dependency.
The fact that the DA scraper already requires headless chrome helps, too.
Well this seems like a lot more work than just requiring a login, to be fair.
I still hope you consider doing things by user ID, since people changing their username or other people taking over old usernames is a big issue.
Just using headless chrome is probably the easiest solution in any case. It's just a clumsy solution, and I find it inelegant.
Also, the fact that twitter allows username reuse is so spectacularly idiotic I'm amazed.
Will be fixed by #96
I just want to make note that the 'old' method TwitGet used that I patched here is still working fine despite the Twitter layout deprecation. As I suspected, the components that make it work were not gotten rid of. I really think this is far more efficient than headless chrome.
I thought I had merged those changes. Gah.
I didn't even realize it wasn't functioning, I don't have any tweets for the entire month of February. It's failing at trying to retrieve the join date.
The accounts are definitely not disabled, this occurs for all of them.