jnsougata / aiotube

An Alternative to YouTube Public Data API v3
MIT License
68 stars 12 forks source link

fix: Fix channel info #18

Closed katelynn620 closed 5 months ago

katelynn620 commented 11 months ago

The 'channel info' is currently not functioning. I attempted to fix it. Additionally, it seems that the queried data no longer includes the 'country' field, so I removed it and left a comment." Thanks.

jnsougata commented 11 months ago

The 'channel info' is currently not functioning. I attempted to fix it. Additionally, it seems that the queried data no longer includes the 'country' field, so I removed it and left a comment." Thanks.

Can you please provide the channel id for which you are not getting the country?

katelynn620 commented 11 months ago

I randomly checked a few of them, and most of them do not have the "country" field. You can also directly inspect the original HTML; the "aboutChannelViewModel" does not contain the "country" field at all. In some cases, there isn't even a "description" field. Therefore, I made some further modifications. Please take another look, and thank you.

BTW, for example, @FGOchannel doesn't have both "country" and "description."