- Python3
- Google Account
-
Getting API Key:
- Visit the Google Cloud Console
- Go to the OAuth Consent tab, fill it, and save.
- Go to the Credentials tab and click Create Credentials -> API KEY
- Choose Other and Create.
- Copy your API KEY
- In terminal,
nano main.py
- Replace
PasteHere
with the api you got.api = "PasteHere"
-
Enable the Drive API:
- Visit the Google API Library page.
- Search for Drive.
- Make sure that it's enabled. Enable it if not.
-
CD into the cloned for and open up and terminal and type >
python3 main.py
Paste as many links as your wish to and enterq
to exit and get direct links.