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.
- Host: GitHub
- URL: https://github.com/rodrigo-brito/youtube-music-search
- Owner: rodrigo-brito
- License: mit
- Created: 2020-03-08T16:57:20.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-11-11T08:52:27.000Z (almost 2 years ago)
- Last Synced: 2025-02-22T01:05:57.122Z (8 months ago)
- Topics: chrome-headless, node, youtube
- Language: JavaScript
- Homepage:
- Size: 260 KB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
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