It seems that other language is not supported by youtube downloader
It seems that language and location params are configured fixed
{
hl: 'en',
gl: 'US',
}
Can we set it dynamically?
Can you provide a use case? What are you trying to do that isn't working?
@miraclx
docker run --rm -it --entrypoint bash --name freyrcli -v $PWD:/data -v ./conf.json:/freyr/conf.json freyrcli/freyrjs-git:pr-214 -c "freyr apple_music:track:157624199"
as you can see, Zero sources found.
but indeed, we can get result from youtube music
How can I download it?
I'll take a look. Thanks.
Top result is not included in result.
TITLE_TEXT: ['title', 'runs', 0, 'text'],
HEADER_TITLE_TEXT: ['header', 'title', 'runs', 0, 'text'],
maybe "Top result" always using a header
And I think that language settings is not related to this issue as mentioned above. I'm wrong.
It seems that stripText will remove characters when calling StripChar.RSspecChar.
I don't think 好 need to be striped.
maybe it works well when dealing with english songs, thanks for your work.
I'm just reporting this case.
Valid point, I hadn't tested with non-Latin glyphs. What is this string? File name? Track name?
Valid point, I hadn't tested with non-Latin glyphs. What is this string? File name? Track name?
@miraclx Track name.
for example: 忙與盲
thank you.
non-Latin support for source feed lookups implemented in #574. Thanks for raising this.
Just leaving a note here: The issue left here (may) be tied to the issue in https://github.com/miraclx/freyr-js/issues/576, and could be resolved by a single fix that merges track results in all sections from the YouTube Music search.