Skip to main content

2 posts tagged with "requests"

requests tag description

View All Tags

How to Download YouTube Thumbnails in Python (Without Pytube)

· 5 min read
Serhii Hrekov
software engineer, creator, artist, programmer, projects founder

Downloading a YouTube thumbnail is a classic Python task that involves two main steps: extracting the unique Video ID from a URL and then fetching the image from Google's thumbnail servers.

Because YouTube uses a predictable URL structure for its images, you don't actually need the heavy pytube library just to get the thumbnail-standard requests will do the trick!

Postman clear cache response

· 7 min read
Serhii Hrekov
software engineer, creator, artist, programmer, projects founder

While Postman doesn't have a single "Clear Cache" button that directly affects API results (as it doesn't cache external API responses), the core issue often lies in two areas that mimic caching: DNS resolution and request state persistence.