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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
LINE Developers Taiwan
PRO
May 26, 2020
Technology
19k
3
Share
How to use Golang download YouTube video
by Evan Lin @Golang Taipei Meetup #49
LINE Developers Taiwan
PRO
May 26, 2020
More Decks by LINE Developers Taiwan
See All by LINE Developers Taiwan
20260514 - build with ai 2026 - build LINE Bot with Gemini CLI
line_developers_tw
PRO
0
490
2026.04.09_台灣客服協會_從資料重新理解客服_ Charlie Wang
line_developers_tw
PRO
0
47
Zona 台北大學 GDG 分享
line_developers_tw
PRO
0
76k
台大資料分析與決策社 機器學習的商業應用_Rei
line_developers_tw
PRO
0
35
政大數據分析社 機器學習的商業應用_Rei
line_developers_tw
PRO
0
65
Gemini 2025 新功能回顧 LINE Bot 完美結合
line_developers_tw
PRO
0
650
NTUAI企業參訪
line_developers_tw
PRO
0
25k
Data TECH FRESH企業參訪- Amber
line_developers_tw
PRO
0
54k
Data Team 實習分享
line_developers_tw
PRO
0
43k
Other Decks in Technology
See All in Technology
自称宇宙最速で不合格となったAIP-C01にリベンジを果たすべくAIで問題集アプリを作ってみた。
yama3133
0
260
美味しいスイスチーズを作ろう🧀🐭
taigamikami
1
220
BigQuery の Cross-cloud Lakehouse への歩み
phaya72
2
330
Platform Engineering as a Product: Criteria for Improvement and Multi-Tenant Design
kumorn5s
0
480
20260528_生成AIを専属DSに_Howの次にすべきことを考える
doradora09
PRO
0
280
「嘘をつくテスト」の失敗例から学ぶ 良いテストコード #frontend_phpcon_do
asumikam
0
140
「気づいたら仕事が終わっている」バクラクAIエージェント本番運用の裏側 / layerx-bakuraku-aie2026
yuya4
17
8.1k
もりもり新機能を一挙紹介! AgentCoreに入門して、AWS上にAIエージェントを構築しよう
minorun365
PRO
6
680
AIプラットフォームを運用し続けるための可観測性
tanimuyk
4
1.1k
Terraformモジュールは、なぜ「魔境」化するのか
hayama17
1
160
実装は速くなった、レビューはどうする? ― 自身のレビューをAIで再現させるサーヴァントエンジニアリングのすゝめ / Implementation got faster. So what about reviews? — An invitation to Servant Engineering: Recreating your own code reviews with AI
nrslib
6
2.6k
関西に縁あるMicrosoft MVPsが語るCopilotの未来
kasada
0
1k
Featured
See All Featured
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.3k
How to Ace a Technical Interview
jacobian
281
24k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
200
Between Models and Reality
mayunak
4
320
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Side Projects
sachag
455
43k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
350
Into the Great Unknown - MozCon
thekraken
41
2.5k
Agile that works and the tools we love
rasmusluckow
331
21k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.2k
The AI Search Optimization Roadmap by Aleyda Solis
aleyda
1
5.9k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.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