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
清大企業參訪- Ben
line_developers_tw
PRO
0
600
LLM 商品規格萃取大冒險- Vila
line_developers_tw
PRO
0
700
Playwright/MCP/AI -Winter
line_developers_tw
PRO
0
710
LINE EC Product Catalog Development- Rei
line_developers_tw
PRO
0
700
LINE 與 AI 機器人技術應用現況
line_developers_tw
PRO
0
7
QA Testing
line_developers_tw
PRO
0
260
jcconf_datadev_prod
line_developers_tw
PRO
0
7
jcconf_SPM_prod
line_developers_tw
PRO
0
5
jcconf_LINEPay_prod
line_developers_tw
PRO
0
4
Other Decks in Technology
See All in Technology
Copilotの精度を上げる!カスタムプロンプト入門.pdf
ismk
10
2.7k
Beyond Prompts: Building Intelligent Applications with Genkit and the Model Context Protocol
peterfriese
0
110
フライトコントローラPX4の中身(制御器)を覗いてみた
santana_hammer
1
130
어떤 개발자가 되고 싶은가?
arawn
1
480
エンジニアにとってコードと並んで重要な「データ」のお話 - データが動くとコードが見える:関数型=データフロー入門
ismk
0
160
AI-ready"のための"データ基盤 〜 LLMOpsで事業貢献するための基盤づくり
ismk
0
130
AIがコードを書いてくれるなら、新米エンジニアは何をする? / komekaigi2025
nkzn
25
18k
AI時代に必要なデータプラットフォームの要件とは by @Kazaneya_PR / 20251107
kazaneya
PRO
4
880
Pythonで構築する全国市町村ナレッジグラフ: GraphRAGを用いた意味的地域検索への応用
negi111111
8
3k
InsightX 会社説明資料/ Company deck
insightx
0
220
戦えるAIエージェントの作り方
iwiwi
24
12k
開発者が知っておきたい複雑さの正体/where-the-complexity-comes-from
hanhan1978
6
1.9k
Featured
See All Featured
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
2
300
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
36
6.1k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.7k
The Pragmatic Product Professional
lauravandoore
36
7k
jQuery: Nuts, Bolts and Bling
dougneiner
65
8k
Product Roadmaps are Hard
iamctodd
PRO
55
11k
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
Context Engineering - Making Every Token Count
addyosmani
8
350
Agile that works and the tools we love
rasmusluckow
331
21k
How GitHub (no longer) Works
holman
315
140k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
9.7k
Side Projects
sachag
455
43k
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