110 lines
3.4 KiB
Python
110 lines
3.4 KiB
Python
#!/usr/bin/python3
|
|
|
|
"""This script allows you to download files of any size from GDrive
|
|
Licensed under GNU GPLv3+ terms.
|
|
(c) 2023, xxx_stroboscope_420_xxx
|
|
"""
|
|
|
|
import sys
|
|
import requests
|
|
|
|
|
|
USAGE_TEXT = """
|
|
Usage: python3 gdown.py <URL> [options]
|
|
-l, --large-file
|
|
Treat downloadable file as large. By default, it is detected automatically.
|
|
--output=<path>
|
|
Path to output file.
|
|
|