castlelemongrab / parlance

A minimum-dependency ECMAScript client library and CLI tool for Parler – a "free speech" social network that accepts real money to buy "influence" points to boost organic non-advertising content
Other
68 stars 9 forks source link

New Authentication #51

Closed chrisji closed 3 years ago

chrisji commented 3 years ago

Hi!

Wondered if you're aware of any changes to Parler recently that would effect the cookie-based authentication process.

There no longer appears to be MST or JST tokens, just PHPSESID and PV* cookies. Is there potential for this codebase to make use of these instead, or does this change require a different strategy?

Cheers!

castle-lemongrab commented 3 years ago

Yeah, Parler ripped their whole API server out recently. The domain exists but the functionality is dead and gone. They seem to have switched over to PHP’s session management, and now appear to return server-side rendered HTML markup snippets instead of JSON.

We’ll add a deprecation notice to the tool. There are likely a lot of screen-scraping frameworks that could make quick work of Parler’s (seemingly still ongoing) rewrite, now or in the future.

I’ll always miss that { human: false } field, though.

chrisji commented 3 years ago

Ah, sad times, but thanks for the info!

If I stumble upon a workable scraping solution, I'll revisit with findings...

Cheers @castle-lemongrab !