Comments (11)
Hey, just now first time got by your awesome tool! Feel free to open issues in my repo with missing/incorrectly working functionality, that you need to get YTMusic working in freyr-js
. I'll do my best to fix them ASAP :)
from freyr-js.
I've tried to make my library working without grabbing a cookie (search/track info), so I will soon try to integrate it into freyr-js.
from freyr-js.
Sounds to me like what you're talking about is off-topic for freyr. Or am I missing something?
from freyr-js.
I'd love to try to make a node.js library for querying data from YouTube.
from freyr-js.
@EthanBnntt, do you mean an API client like https://github.com/vladdenisov/ytmusic-api or a provider for freyr like https://github.com/miraclx/freyr-js/blob/master/src/services/spotify.js?
If the latter, the help would be much appreciated. I'd be happy to provide any useful insight on how to go about it.
from freyr-js.
I meant a library for pulling frontend data from YouTube. It would probably just query Invidious instances, as they provide a public API. Something more like https://github.com/vladdenisov/ytmusic-api. YouTube Music is just an alternative frontend to YouTube that only includes music.
from freyr-js.
Yes, I was talking about making a library separate from freyr and integrating it into freyr.
from freyr-js.
YouTube Music is just an alternative frontend to YouTube that only includes music.
@EthanBnntt, freyr is a music-downloading utility. Isn't YouTube Music all we need? Is there a benefit to supporting the full YouTube catalog?
from freyr-js.
I haven't seen this documented anywhere but adding "?pbj=1" and appropriate headers to a YouTube (but not YouTube Music) URL returns JSON.
For Search:
curl --location --request GET 'https://www.youtube.com/search?q=laya&pbj=1' --header 'X-Youtube-Client-Version: 2.20221026.05.00' --header 'X-Youtube-Client-Name: 1'
For Video URL (kinda?):
curl --location --request GET 'https://www.youtube.com/watch?v=8foPUupIUi4&pbj=1' --header 'X-Youtube-Client-Version: 2.20221026.05.00' --header 'X-Youtube-Client-Name: 1'
from freyr-js.
What's stopping this project from utilizing this other repo?
https://github.com/th-ch/youtube-music/tree/master/plugins/downloader
I am not that adept at Javascript but it would be interesting to know what method they are using to pull their YouTube video downloads. This seems to a project that could be combined with this repo due to their utilization of only HTML/CSS apart from JavaScript.
from freyr-js.
@quartztester, it's the same strategy as freyr
. Find the media ID, defer to youtube-dl
to extract the feeds (freyr has a manual downloader, they may not), and encode with ffmpeg
.
freyr
does the extra step of embedding metadata with atomicparsley
.
from freyr-js.
Related Issues (20)
- File exist should ignore file extension HOT 3
- Error code 401 HOT 1
- Status code 401 when downloading Apple Music HOT 7
- Unable to locate the command [which] within your PATH HOT 2
- add youtube support HOT 5
- Automate Apple Music token updates HOT 9
- command not found? not sure what I messed up HOT 2
- ERROR: Unable to download API page: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed HOT 4
- Freyr downloading different tracks that don't match actual tracks from album HOT 19
- Request failed with status code 401 HOT 7
- SUGGESTION / Download all Albums of one Artist HOT 1
- I'm getting the error ' [An error occured while communicating with Spotify's Web API]' when trying to download my spotify playlist HOT 3
- how to solve the problem "failed: [Request failed with status code 401]) [i] An error occurred while processing the query" HOT 8
- An error code appears when req spotify and apple music
- Couldn't find package "async@^3.2.4" required by "freyr" on the "npm" registry. HOT 2
- Freyr (failed: Unexpected postprocessing error [Invalid typed array length: undefined]) HOT 4
- How to do i download manually from youtube? HOT 1
- Apple Music 401 Error HOT 1
- Giant File size HOT 3
- Very large file size HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from freyr-js.