tokland / shoogle

Use the Google API from the shell
GNU General Public License v3.0
97 stars 13 forks source link

youtube:v3 api does not work #13

Open Nemem9aa opened 4 years ago

Nemem9aa commented 4 years ago

shoogle show youtube:v3 [ERROR] GET https://www.googleapis.com/$discovery/rest?version=v3 (404)

--> youtube api does not work. Problem is in googles https://www.googleapis.com/discovery/v1/apis Link poiting to youtube v3 rest api is wrong: "discoveryRestUrl": "https://www.googleapis.com/$discovery/rest?version=v3", Link should be: discoveryRestUrl": "https://www.googleapis.com/discovery/v1/apis/youtube/v3/rest"

I did temporally solved it by modifying common.py and changing line: apis = download("https://www.googleapis.com/discovery/v1/apis") to point to modified local file.

davesteele commented 2 years ago
shoogle show youtube:v3

is working properly for me.