CA
modern-teal

Is there a Python script example on how to use the Initial cookies option with Apify’s API

So with the Twitter Scraper, there is a note close to the top of the page saying: “On 30 June 2023, Twitter put all content behind a login, so scraping publicly available Twitter content is no longer possible. To extract data behind the login, you can use the Initial cookies option. Beware that this is an experimental/research feature, and you use it on your responsibility.” I was wondering if anyone has an example script on how to use the Initial cookies option with Apify’s API in Python? Would really appreciate any help. Thanks! Ps.- With things changing so quickly with Twitter, I am assuming the Initial cookies option method still works (with Apify’s API in Python)
6 Replies
other-emerald
other-emerald2y ago
You could as well use https://apify.com/microworlds/twitter-scraper, it doesn't require any cookies 🙂
modern-teal
modern-tealOP2y ago
If I was on the monthly plan, is the $2 per 1000 tweets taken out from the monthly credit?
other-emerald
other-emerald2y ago
Exactly! 💯
modern-teal
modern-tealOP2y ago
Thanks. $2 per 1000 tweets is a little steep for me. Is there a way to reduce the cost on this? Currently I am doing this for personal research and if things turn out right, I may turn this into a business and would be happy to pay whatever the cost is and use Apify if this happens.
other-emerald
other-emerald2y ago
Hi, let's discuss this in DM
adverse-sapphire
adverse-sapphire16mo ago
Heyhey!! Might be a little bit old but still wanted to paste ours here: https://apify.com/apidojo/tweet-scraper Cheapest, yet powerful.
Apify
🏯 Tweet Scraper V2 (Pay Per Result) - Twitter / X Scraper · Apify
⚡️ Lightning-fast search, URL, list, and profile scraping, with customizable filters. Ideal for researchers, entrepreneurs, and businesses at $0.10 per 1000 tweets, scraping 100-200 tweets per second! Get comprehensive insights from Twitter (X) now!

Did you find this page helpful?