1.0.2 • Published 3 years ago

youtube-search-engine v1.0.2

Weekly downloads
12
License
MIT
Repository
github
Last release
3 years ago

youtube-search - Unofficial YouTube searching engine.

TypeScript Passed License

  • Note: It can stop working anytime.

NPM

Install

npm install youtube-search-engine

Github

https://github.com/PinMIlk/youtube-search

npm

https://www.npmjs.com/package/youtube-search-engine

Example

import {
    YoutubeSearch
} from './src/search';

YoutubeSearch.execute('비긴어게인')
    .then(res => console.log(res))
    .catch(e => console.error(e));

Parameter

ParameterDetailTypeRequiredDefault
querySearch wordstringY-
languageSearch result languagestringNen-US

Language code table

CodeLanguage
ko-KRKorean
en-USEnglish(US)
en-GBEnglish(UK)
ja-JPJapanese
zh-CNChinese(Simplified)
zh-TWChinese(Traditional)
  • Tell me other language with issue if you need.

Return value

Video

KeyDetailType
titleTitlestring
authorAuthorstring
viewNumber of viewsstring
running_timeRunning timestring
linkVideo urlstring
imgThumbnail image urlstring
published_atPublished timestring

Channel

KeyDetailType
titleChannel namestring
subscribersNumber of subscribersstring
videoNumber of videosstring
linkChannel urlstring
imgThumbnail image urlstring

License

It is following MIT License.

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago