Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fdciabdul/yts
Youtube search query without API
https://github.com/fdciabdul/yts
Last synced: about 1 month ago
JSON representation
Youtube search query without API
- Host: GitHub
- URL: https://github.com/fdciabdul/yts
- Owner: fdciabdul
- Created: 2021-05-01T16:54:27.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-06-26T08:40:11.000Z (over 2 years ago)
- Last Synced: 2024-10-02T08:05:04.397Z (about 2 months ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Youtube search query without API
## install
`npm install https://github.com/fdciabdul/yts.git`
Test :
```javascript
const yt = require('yts_noapi');
let query = "search term";
yt.search(query)
.then(function(res) {
console.log(res)});
```
or with await
```javascript
const yt = require('yts_noapi');
let query = "search term";
async function search(){
const search = await yt.search(query);
console.log(search);
}
search();```