- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
Firefox Has Unencrypted Cookies 🍪 and It Changes Everything |Hero Extract
*Summary*
This video features two speakers discussing why Firefox cookies are more accessible than Chrome's for automation purposes. They demonstrate how Firefox stores cookies in an unhashed format, enabling them to borrow YouTube API keys to scrape channel subtitles using Python.
Learn more at: https://the-Automator.com
Or consider joining the Hero Club and Learning how easy AI can be: https://the-Automator.com/Hero
*Key Points*
[00:00:00] - Chrome vs. Firefox Cookie Storage Explained
• Irfan demonstrates Chrome's browser inspector, showing that some websites hash their cookies before storing them, making those cookies browser-specific and unusable outside that browser.
• Firefox, by contrast, uses its own Mozilla-based framework (not Chromium), and does not hash cookies the same way - making stored values like API keys readable and accessible.
• This key difference is why Firefox "cookies taste better" - they can actually be borrowed and reused in automation scripts.
[00:02:08] - YouTube API Key Discovery via Firefox
• Irfan navigates Firefox's storage/dev tools, which differ significantly from Chrome's inspector layout, showing cookies stored as a SQLite database visible per site (demonstrated via Wikipedia).
• The core problem: YouTube hashes its API key in Chrome before storing it, but Firefox stores it in plain form.
• The solution is to log into YouTube via Firefox, retrieve the unhashed API key from storage, and use it in API calls to pull channel data - bypassing YouTube's standard API restrictions.
[00:04:14] - Claude AI Suggestion & Subtitle Scraping Solution
• After spending over a day failing to extract subtitles using other tools, Speaker A consulted Claude AI fresh (without prior context) and it recommended Python with Firefox cookies as the approach.
• This parallels an older IE technique where the XML HTTP Request object automatically borrowed IE session cookies - Firefox offers a similar, manual but workable equivalent today.
• Chrome and Edge (Chromium-based) have locked down cookie access for security; Firefox remains more flexible, allowing the team to successfully scrape all channel subtitles, storing video IDs and titles in SQLite and subtitle content in SRT files.
---
*Brief Summary*
The team solved a complex subtitle-scraping challenge by leveraging Firefox's unhashed cookie storage to extract YouTube API keys, a method surfaced through a fresh Claude AI query. The scraped data is now structured in SQLite and SRT files, with further integration work ahead to pull everything together.
#FirefoxCookies #BrowserCookies #YouTubeAPI #WebScraping #PythonAutomation #CookieHashing #FirefoxDevTools #SQLiteDatabase #VideoSubtitles #ChromeVsFirefox #APIAuthentication #BrowserSecurity #XMLHTTPRequest #CookieBorrowing #SRTFiles
Видео Firefox Has Unencrypted Cookies 🍪 and It Changes Everything |Hero Extract канала AUTOHOTKEY Gurus
This video features two speakers discussing why Firefox cookies are more accessible than Chrome's for automation purposes. They demonstrate how Firefox stores cookies in an unhashed format, enabling them to borrow YouTube API keys to scrape channel subtitles using Python.
Learn more at: https://the-Automator.com
Or consider joining the Hero Club and Learning how easy AI can be: https://the-Automator.com/Hero
*Key Points*
[00:00:00] - Chrome vs. Firefox Cookie Storage Explained
• Irfan demonstrates Chrome's browser inspector, showing that some websites hash their cookies before storing them, making those cookies browser-specific and unusable outside that browser.
• Firefox, by contrast, uses its own Mozilla-based framework (not Chromium), and does not hash cookies the same way - making stored values like API keys readable and accessible.
• This key difference is why Firefox "cookies taste better" - they can actually be borrowed and reused in automation scripts.
[00:02:08] - YouTube API Key Discovery via Firefox
• Irfan navigates Firefox's storage/dev tools, which differ significantly from Chrome's inspector layout, showing cookies stored as a SQLite database visible per site (demonstrated via Wikipedia).
• The core problem: YouTube hashes its API key in Chrome before storing it, but Firefox stores it in plain form.
• The solution is to log into YouTube via Firefox, retrieve the unhashed API key from storage, and use it in API calls to pull channel data - bypassing YouTube's standard API restrictions.
[00:04:14] - Claude AI Suggestion & Subtitle Scraping Solution
• After spending over a day failing to extract subtitles using other tools, Speaker A consulted Claude AI fresh (without prior context) and it recommended Python with Firefox cookies as the approach.
• This parallels an older IE technique where the XML HTTP Request object automatically borrowed IE session cookies - Firefox offers a similar, manual but workable equivalent today.
• Chrome and Edge (Chromium-based) have locked down cookie access for security; Firefox remains more flexible, allowing the team to successfully scrape all channel subtitles, storing video IDs and titles in SQLite and subtitle content in SRT files.
---
*Brief Summary*
The team solved a complex subtitle-scraping challenge by leveraging Firefox's unhashed cookie storage to extract YouTube API keys, a method surfaced through a fresh Claude AI query. The scraped data is now structured in SQLite and SRT files, with further integration work ahead to pull everything together.
#FirefoxCookies #BrowserCookies #YouTubeAPI #WebScraping #PythonAutomation #CookieHashing #FirefoxDevTools #SQLiteDatabase #VideoSubtitles #ChromeVsFirefox #APIAuthentication #BrowserSecurity #XMLHTTPRequest #CookieBorrowing #SRTFiles
Видео Firefox Has Unencrypted Cookies 🍪 and It Changes Everything |Hero Extract канала AUTOHOTKEY Gurus
Комментарии отсутствуют
Информация о видео
11 ч. 46 мин. назад
00:06:38
Другие видео канала
