Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option of downloading from pcloud URLs #87

Closed
digitalray opened this issue Dec 4, 2023 · 1 comment
Closed

Option of downloading from pcloud URLs #87

digitalray opened this issue Dec 4, 2023 · 1 comment

Comments

@digitalray
Copy link

digitalray commented Dec 4, 2023

I was given a folder with a link such as this: https://filedn.com/someid123/. There are folders there. I was wondering if there is a way to download the contents of the folders. The http request give the paths of all the links to the files relative to where they are as a javascript json:

<script>
  var directLinkData={
	"code": "someid",
	"dirpath": "\/folder\/",
	"content": [
		{
			"name": "folder 1",
			"urlencodedname": "folder%201",
			"modified": "Sat, 01 May 2021 00:11:15 +0000",
			"icon": 20
		},
		{
			"name": "file 1.zip",
			"urlencodedname": "file%201.zip",
			"size": 618731497,
			"modified": "Wed, 30 Aug 2023 23:57:48 +0000",
			"icon": 5
		}
	]
};
</script>

Thanks

@digitalray
Copy link
Author

I guess it would be easier to just write a quick script and scrape the links then download. I'll close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant