ivknv / yadisk

Библиотека-клиент REST API Яндекс.Диска для Python / Yandex.Disk REST API client library for Python

Home Page:https://yadisk.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't download specific file from public link

Molandrious opened this issue · comments

Path argument for function download_public doesn't reach request's payload.

e.x. after executing this line - yadisk.download_public(link, local_path, path=remote_path) - i got error:
TypeError: Session.request() got an unexpected keyword argument 'path'

Thank you for the bug report. The bug fix is available in the dev branch. I'll publish the new version to PyPI in a few hours.

The new version with the fix is available on PyPI.