An open API service indexing awesome lists of open source software.

https://github.com/rodrigo-brito/youtube-music-search

Search songs in Youtube Music without an API Key. Chrome Headless.
https://github.com/rodrigo-brito/youtube-music-search

chrome-headless node youtube

Last synced: 4 months ago
JSON representation

Search songs in Youtube Music without an API Key. Chrome Headless.

Awesome Lists containing this project

README

          

# Youtube Music Search

Search Songs in youtube Music without an API Key. This approach uses Chrome Headless with Selenium to capture search results.

## Installation

- Include Chrome Webdriver in your path: https://chromedriver.chromium.org/downloads
- Update Chrome Driver version in `package.json` if necessary.
- `npm install` - Download dependencies
- `npm run start` - Initialize API at http://localhost:4000

## Important

Update the dependency `chromedriver` in `package.json` with your Chrome version. The project is set up with Chrome 85.

## Example of usage

Request

```bash
curl -X GET "http://localhost:3000?q=nothing+else+matters"
```

Result:

```json
{ "id": "kaOOfci2YC8" }
```

## License

Distributed under MIT License