Skip to content

[Bug] Does not work for some cases: No scheme supplied. #9

Description

@yauhenipakala

Case

  • publicly shared folder
  • size: 43,55 Gb
  • files: 10

Full

ydiskarc full "https://disk.yandex.ru/d/XYZ" -o output -v

XYZ - replaced string

log:

2026-01-26 16:00:18,169 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): cloud-api.yandex.net:443
2026-01-26 16:00:18,697 - urllib3.connectionpool - DEBUG - https://cloud-api.yandex.net:443 "GET /v1/disk/public/resources?public_key=https%3A%2F%2Fdisk.yandex.ru%2Fd%2FXYZ HTTP/1.1" 200 None
2026-01-26 16:00:18,705 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): cloud-api.yandex.net:443
2026-01-26 16:00:19,235 - urllib3.connectionpool - DEBUG - https://cloud-api.yandex.net:443 "GET /v1/disk/public/resources?public_key=https%3A%2F%2Fdisk.yandex.ru%2Fd%2FXYZ&path=&limit=1000 HTTP/1.1" 200 None
Total files to download: 1 (ZIP archive containing 10 file(s))
Total size: 43.56 GB
2026-01-26 16:00:19,545 - urllib3.connectionpool - DEBUG - https://cloud-api.yandex.net:443 "GET /v1/disk/public/resources/download?public_key=https%3A%2F%2Fdisk.yandex.ru%2Fd%2FXYZ HTTP/1.1" 200 None
2026-01-26 16:00:19,545 - root - ERROR - Failed to download file from : Invalid URL '': No scheme supplied. Perhaps you meant https://?
2026-01-26 16:00:19,545 - root - ERROR - Error during full download: Invalid URL '': No scheme supplied. Perhaps you meant https://?
Error: Invalid URL '': No scheme supplied. Perhaps you meant https://?

Sync

ydiskarc sync "https://disk.yandex.ru/d/XYZ" -o output -v

log:

2026-01-26 16:11:22,418 - root - INFO - Saving https://disk.yandex.ru/d/XYZ
2026-01-26 16:11:22,422 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): cloud-api.yandex.net:443
2026-01-26 16:11:23,297 - urllib3.connectionpool - DEBUG - https://cloud-api.yandex.net:443 "GET /v1/disk/public/resources?public_key=https%3A%2F%2Fdisk.yandex.ru%2Fd%2FXYZ&path=&limit=1000 HTTP/1.1" 200 None
Total files to download: 10
Total size: 43.56 GB
2026-01-26 16:11:23,302 - urllib3.connectionpool - DEBUG - Starting new HTTPS connection (1): cloud-api.yandex.net:443
2026-01-26 16:11:23,911 - urllib3.connectionpool - DEBUG - https://cloud-api.yandex.net:443 "GET /v1/disk/public/resources?public_key=https%3A%2F%2Fdisk.yandex.ru%2Fd%2FXYZ&path=&limit=1000 HTTP/1.1" 200 None
2026-01-26 16:11:23,912 - root - INFO - Saving metadata of output
2026-01-26 16:11:23,913 - root - ERROR - Failed to download file /01.mp4: 'file'
2026-01-26 16:11:23,913 - root - ERROR - Failed to download file /02.mp4: 'file'
2026-01-26 16:11:23,914 - root - ERROR - Failed to download file /03.mp4: 'file'
2026-01-26 16:11:23,914 - root - ERROR - Failed to download file /04.mp4: 'file'
2026-01-26 16:11:23,914 - root - ERROR - Failed to download file /05.mp4: 'file'
2026-01-26 16:11:23,914 - root - ERROR - Failed to download file /06.mp4: 'file'
2026-01-26 16:11:23,914 - root - ERROR - Failed to download file /07.mp4: 'file'
2026-01-26 16:11:23,914 - root - ERROR - Failed to download file /08.mp4: 'file'
2026-01-26 16:11:23,914 - root - ERROR - Failed to download file /09.mp4: 'file'
2026-01-26 16:11:23,914 - root - ERROR - Failed to download file /10.mp4: 'file'

macos 26.2
Python 3.14.2
ydiskarc 1.1.0

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Fields

No fields configured for Bug.

Projects

Status
No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions