Preface
Hello everyone, I am Evan Lin, a Tech Evangelist from LINE Taiwan. I am very happy to be invited by the Golang community to participate in the "Golang Taipei Gathering #49 Webinar" event and share some Golang development skills and personal development experiences. Here, I would also like to share my experiences from this event with you, and I hope that through the power of community sharing, Golang can be better understood.
- Community Chatbots Meetup: https://www.meetup.com/golang-taipei-meetup
- This event webpage: Event URL
Due to the requirements of epidemic prevention, I participated in this gathering online. I am very grateful to every friend who participated for their questions. I hope that through online and recording methods, more friends can understand.
LeetCode Challenge / A-Wu Co., Ltd. - Captain
Video:
Slides: https://eehsiao.github.io/LeetCode20200526-gtg49.pdf
The captain shared how to "relieve stress" by writing LeetCode, and how to gain a deeper understanding of many algorithms by writing LeetCode.
Q&A:
Record some interesting questions asked that day:
- Q: Are there any recommended commonly used functions or tools that can speed up problem-solving?
- A: There are no commonly used tools, but I have prepared some trees and graphs as a way to speed up problem-solving.
- Q: Can LeetCode help with daily development work?
- A: Yes, it helps with related thinking.
- Q: Does LeetCode really need to be brushed if you already have other experience?
- A: Many large multinational companies still need to brush LeetCode.
How to Download Videos from Youtube Using Golang / Senior Development Technology Promotion Engineer Evan Lin
Video:
Slides:
This time, I mainly shared my experience and related methods of downloading YouTube videos using Golang:
Project: github.com/kkdai/youtube
Github: https://github.com/kkdai/youtube
Direct download and use:
- go install github.com/kkdai/youtube/youtubedr
Usage 1: (Save the file name as Campaign Diary.mp4)
youtubedr -o "Campaign Diary".mp4 https://www.youtube.com/watch\?v\=XbNghLqsVwU
Usage 2: (Do not specify a file name, but use the video title)
youtubedr https://www.youtube.com/watch\?v\=XbNghLqsVwU
For more information, please refer to this article: [TIL][Golang] How to get information about Youtube videos and download Youtube videos using Go
Q&A:
Record some interesting questions asked that day:
- Q: Will you provide the function to download youtube lists directly in the future?
- A: Playlist is not supported yet, basically Playlist may need to use the YouTube API.
- Q: Would you like to support other platforms, such as Facebook or Instagram?
- A: I wrote it for Instagram before, but later it was mandatory to have a developer account. And there are limits on the number of times. https://github.com/kkdai/goInstagramDownloader. The Facebook part also requires a developer account and requires the use of the FB Graph API.
- Q: Can you use a crawler to crawl the data?
- A: This method is a crawler, but because it originally needs to be deciphered through js.
- Q: There are many video formats on Youtube, even audio and video are separated, will this API provide the URL?
- A: This method can find all supported formats (and resolutions)
- Q: Can you directly execute that JS file?
- A: You can execute it directly by writing a front-end method. Here, it demonstrates simulating the front-end through the back-end.
Event Summary
Join the "LINE Developer Official Community" official account immediately to receive the first-hand Meetup events, or the latest news push notifications related to the developer program. ▼
"LINE Developer Official Community" Official Account ID: @line_tw_dev
About "LINE Developer Community Program"
LINE launched the "LINE Developer Community Program" in Taiwan at the beginning of this year, and will invest long-term manpower and resources in Taiwan to hold developer community gatherings, job fairs, developer conferences, etc., both internally and externally, online and offline, and has already held more than 30 events. Readers are welcome to continue to check back for the latest updates. For details, please see:


Top comments (0)