Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
How to use Golang download YouTube video
Search
LINE Developers Taiwan
PRO
May 26, 2020
Technology
3
19k
How to use Golang download YouTube video
by Evan Lin @Golang Taipei Meetup #49
LINE Developers Taiwan
PRO
May 26, 2020
Tweet
Share
More Decks by LINE Developers Taiwan
See All by LINE Developers Taiwan
Gemini 2025 新功能回顧 LINE Bot 完美結合
line_developers_tw
PRO
0
400
NTUAI企業參訪
line_developers_tw
PRO
0
7.5k
Data TECH FRESH企業參訪- Amber
line_developers_tw
PRO
0
15k
Data Team 實習分享
line_developers_tw
PRO
0
13k
Backend Intern之旅
line_developers_tw
PRO
0
19k
清大企業參訪- Ben
line_developers_tw
PRO
0
3.3k
LLM 商品規格萃取大冒險- Vila
line_developers_tw
PRO
0
2.3k
Playwright/MCP/AI -Winter
line_developers_tw
PRO
0
2.3k
LINE EC Product Catalog Development- Rei
line_developers_tw
PRO
0
2.3k
Other Decks in Technology
See All in Technology
Eight Engineering Unit 紹介資料
sansan33
PRO
1
6.9k
LINEアプリ開発のための Claude Code活用基盤の構築
lycorptech_jp
PRO
2
1.4k
三菱UFJ銀行におけるエンタープライズAI駆動開発のリアル / Enterprise AI_Driven Development at MUFG Bank: The Real Story
muit
11
21k
LY Tableauでの Tableau x AIの実践 (at Tableau Now! - 2026-02-26)
yoshitakaarakawa
0
1.3k
ブラックボックス観測に基づくAI支援のプロトコルのリバースエンジニアリングと再現~AIを用いたリバースエンジニアリング~ @ SECCON 14 電脳会議 / Reverse Engineering and Reproduction of an AI-Assisted Protocol Based on Black-Box Observation @ SECCON 14 DENNO-KAIGI
chibiegg
0
140
LINEヤフーにおけるAI駆動開発組織のプロデュース施策
lycorptech_jp
PRO
0
390
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
14k
Serverless Agent Architecture on Azure / serverless-agent-on-azure
miyake
1
130
技術的負債の泥沼から組織を救う3つの転換点
nwiizo
5
1.2k
Databricksアシスタントが自分で考えて動く時代に! エージェントモード体験もくもく会
taka_aki
0
310
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
6
72k
生成AIの利用とセキュリティ /gen-ai-and-security
mizutani
0
940
Featured
See All Featured
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.1k
We Have a Design System, Now What?
morganepeng
55
8k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
1
210
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
120
Exploring anti-patterns in Rails
aemeredith
2
280
Abbi's Birthday
coloredviolet
2
5.1k
Crafting Experiences
bethany
1
75
Why Our Code Smells
bkeepers
PRO
340
58k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
1.9k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
380
jQuery: Nuts, Bolts and Bling
dougneiner
65
8.4k
Transcript
How to use Golang download YouTube video LINE Developer Relations
Evan Lin 2020.05 1
Evan Lin • Google Developer Expert • LINE Developer Meetup
• LINE TAIWAN TECHPULSE Organizer LINE Technology Evangelist 2
3
How to get Youtube Video Info? https://www.youtube.com/watch?v=rFejpH_tAHM https://youtube.com/get_video_info?video_id=rFejpH_tAHM 4
How to get Youtube Video Info? 5
RAW Data 6
How to parse with Query Parameter 7
Get Video Author and Title How to handle JSON value
without structure data. 8
Let’s find the video download link 9
How to process JSON data from Web Jsonlint.com à Paste
and copy on text editor à Json to Go 10
Using the file download link… 11
Using the file download link… (what?) No url??? But new
”cipher”? 12
Finally … https://stackoverflow.com /questions/60607291/you tube-video-downloader- with-php 13
Look into browser player related setting https://www.youtube.com/embed/FHpvI8oGsuQ?hl=en https://www.youtube.com/s/player/e3cd195e/player_ias.vflset/en_US/base.js 14
Make it simple … “string” EQ(“string”, 3) è c =
‘s’ è a[0] = a[2] = `r` è a[2] = `s` à “rtsing” 15
Decipher :Operation 16
Decipher : Parse Ops and Args https://github.com/kkdai/youtube/blob/master/decipher.go#L12 17
Looking for contributors 18 https://github.com/kkdai/youtube
LINE TECH FRESH https://engineering.linecorp.com/zh-hant/blog/tech-fresh-2020/ 19
20
Q&A 21