Youtube mp3 download


youtube-dl


이 툴을 사용하여 Youtube.com에 업로드 된 비디오 영상의 오디오를 추출하여 mp3 파일로 저장할 수 있다.

예제는 유튜브 재생목록을 다운받는다.


Installation

youtube-dl 설치 (wget 또는 curl)


1
2
curl -L https://yt-dl.org/downloads/latest/youtube-dl -/usr/local/bin/youtube-dl
chmod a+rx /usr/local/bin/youtube-dl
cs


ffmpeg 설치


1
2
3
4
5
6
7
cd /opt
curl -O https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-64bit-static.tar.xz
 
tar -xf ffmpeg-release-64bit-static.tar.xz
rm ffmpeg-release-64bit-static.tar.xz
 
ln -/opt/ffmpeg-[VERSION]/ff* /usr/bin
cs



Usage

유튜브 재생목록 url 리스트를 playlist 파일에 넣고 해당 파일을 지정해 준다.

1
youtube-dl --extract-audio --audio-format mp3 --batch-file="/full/path/to/playlist"
cs


Telepot: Python framework for Telegram Bot API

 #git clone https://github.com/nickoala/telepot


Install the telepot

 # python setup.py install


-- Got some error like 'setup script exited with error in urllib3 setup command'.

 Solved via install updated version of setuptools.

 Find the setuptools from PYPI(https://pypi.python.org/pypi/) and install it.


Install transmission-daemon, transmission-remote

 # yum install transmission-daemon transmission-remote


Install pip for python packages

 https://pip.pypa.io/en/stable/installing/


Install BeautifulSoup for handle HTTP(after installing pip)

 https://www.crummy.com/software/BeautifulSoup/bs4/doc/#problems-after-installation

 # pip install beautifulsoup4


main.py

TOKEN

listening from user

searching torrent link with keyword

show button that indicates results to user

get magnet link that user chose

add and start magnet on transmission


Reference - https://github.com/seungjuchoi/telegram-control-deluge/blob/master/telegram_torrenter.py

'Project > TelegramBOT' 카테고리의 다른 글

Install Telegram CLI on CentOS 7  (0) 2016.10.06

GIT HUB repository - https://github.com/vysheng/tg


Follow the installation guide.


Tool setup


 # yum install libevent-devel openssl-devel readline-devel libconfig-devel lua-devel git

 

 # wget http://www.digip.org/jansson/releases/jansson.tar.gz

 # tar xvzfp jansson.tar.gz

 # ./configure

 # make

 # make install

 # ln -s /usrs/local/libjansson.so.4 /usr/lib64/


Run Telegram CLI


 # bin/telegram-cli -k server.pub


Then enter your phone number to get code and enter the code.


reference link - http://oty580.tistory.com/27

'Project > TelegramBOT' 카테고리의 다른 글

Prepare for telegram bot project  (0) 2016.10.06

Defencer : TPS Defense Game Project









Schedule: Mar.2015 ~ Nov.2015

This project made for graduation from university.

Only Blueprint (no C++)

Free assets from internet. (non-commercial)




- Task

Task

Plan 

Project Plan 

Design & Implementation 

Developing Environment  

UI / UX 

Level Design

AI (Monster etc) 

Animation 

Particle 

Sound 

Test 

Test 

Documentation 

Report & Research & Documentation 


- Game Scenario

Defense the monster cage that made by villagers in the desert from other monsters.

Player plays the guarding robot with 3 basic weapons.


- Unreal Engine 4

- Blueprint Script Language

- Animation & Particle System

- Unreal Motion Graphic (UMG)

- Basic Matinee


- Development Environment Specifications

 HW

SW 

CPU: Intel Xeon E3-1230v3

RAM: 24GB

VGA: AMD Radeon 270X 

OS: MS Windows 8.1

IDE: Unreal Editor

Tool: Adobe Photoshopt CS6

      Subversion

      Unreal Engine 4

Language: Blueprint Script


- Class Diagram



- Simple Game Flow chart


- References

 Unreal Engine 4 Documentation - http://docs.unrealengine.com

 Unreal Engine 4 YouTube - http://www.youtube.com/user/UnrealDevelopmentKit




+ Recent posts