Skip to content

Downloads OneDrive shared folder/file to local filesystem with persisted structure without authentication

Notifications You must be signed in to change notification settings

py-radicz/onedrive-sharedfolder-download

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Description

Asynchronously downloads contents of provided OneDrive shared folder/file url without authentication.

Usage

from onedrive import OneDriveSharedFolder

o = OneDriveSharedFolder("https://1drv.ms/u/s!AtZI6E5G7ZC_izG2o7OFNjh2N0Yk?e=hjDg8t")

# downloads with default path to storage which is CWD and default concurrent requests which is set to 5
o.download() 

# customize to your liking
o.download(path='/home/user/Downloads', concurrent_reqs=10)

Tips

If you wanna get only direct download link of shared file, just change the top level domain of shared link from .ms to .ws (does not work for shared folder)

About

Downloads OneDrive shared folder/file to local filesystem with persisted structure without authentication

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages