webtorrent / webtorrent-hybrid

WebTorrent (with WebRTC support in Node.js)
https://webtorrent.io
MIT License
519 stars 98 forks source link

Download torrent files with folder structure. #124

Closed s-bhagwat closed 2 years ago

s-bhagwat commented 3 years ago

What is the purpose of this pull request? (put an "X" next to item)

What changes did you make? (Give an overview) It has two promises one for checking if directory is exist or not second one is for creating it recursively. By using this example one can get same folder structure as torrent.

Which issue (if any) does this pull request address? Current example for downloading doesn't download files in their respected folders so I've created this script.

Is there anything you'd like reviewers to focus on? No

github-actions[bot] commented 2 years ago

Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?