wkentaro / gdown

Google Drive Public File Downloader when Curl/Wget Fails
MIT License
4.06k stars 342 forks source link

Rollback to user agent from v4.6.3. #294

Closed katzdm closed 5 months ago

katzdm commented 6 months ago

The more obviously fake user-agent from 4.6.4 appears to be rejected by Google (ergo #291); the user-agent from 4.6.3 seems to work.

Also add ability to override user agent with GDOWN_USER_AGENT environment variable to allow users to override this for themselves without necessitating a new release.