2min snip

Syntax - Tasty Web Development Treats cover image

763: Web Scraping + Reverse Engineering APIs

Syntax - Tasty Web Development Treats

NOTE

Efficient Data Collection Process from APIs

To gather detailed trade data daily, the speaker developed a program to download it since the required data wasn't available through the API. They faced a challenge with the short-lived login cookie, so they implemented a two-step login process using their one password integration for security. After obtaining a JSON web token, they could access the API to fetch and save the required data. For some instances, they needed to use fetch requests, adjust methods, and headers. They mentioned the 'fetch cookie on node' plugin as a helpful tool eliminating the manual cookie tracking hassle, by automatically adding the cookie to subsequent requests.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode