raingart / Nova-YouTube-extension

Apache License 2.0
199 stars 9 forks source link

API Key not working #25

Closed lugohtk closed 1 year ago

lugohtk commented 1 year ago

image

when I try to put the API Key it says that the requested format is not, copy the api key alone and copy it as google says (key=API_KEY)

raingart commented 1 year ago

Here is the instruction - https://gist.github.com/raingart/080d09ae4070a8f4f892a93b0075729f

Pay attention to the last photo. What is the format of the key.

You can email me the key you generated. If its format is different what would I update the mask to check for validity

lugohtk commented 1 year ago

idk why it doesn't work, create 3 different keys until it worked. thx, good extension:)

Coldblackice commented 1 year ago

Here is the instruction - https://gist.github.com/raingart/080d09ae4070a8f4f892a93b0075729f

Pay attention to the last photo. What is the format of the key.

You can email me the key you generated. If its format is different what would I update the mask to check for validity

The issue is with the settings page's mask pattern, which accepts only digits and word-chars. However, Google is generating API keys containing a "-" dash/minus character in them (it just happened with mine), and "-" isn't included with \w, only the underscore is.

raingart commented 1 year ago

fixed