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

Display absolute links to downloaded files via youtube-dl? #11789

Closed
aidinzolghadr opened this issue Jan 20, 2017 · 3 comments
Closed

Display absolute links to downloaded files via youtube-dl? #11789

aidinzolghadr opened this issue Jan 20, 2017 · 3 comments

Comments

@aidinzolghadr
Copy link

@aidinzolghadr aidinzolghadr commented Jan 20, 2017

Hi,

I've set up youtube-dl on my shared Debian 3 host so I can access it via an URL to pass address to what I want to download so it would download it on my host.

I was wondering if there is a way to display URL links to file(s) downloaded by last request on a web page for easier download.

So for example, if you call domain.com/youtubedl.php?url=www.youtube.com/watch?v=000000 would download it and then display this on the page:

http://domain/download_directory/youtubefile.mp4

so you can easily download it by clicking on that link.

Thanks

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jan 20, 2017

I've set up youtube-dl on my shared Debian 3 host so I can access it via an URL to pass address to what I want to download so it would download it on my host.

youtube-dl does not provide such functionality. Ask support of the web front-end you are using.

@dstftw dstftw closed this Jan 20, 2017
@aidinzolghadr
Copy link
Author

@aidinzolghadr aidinzolghadr commented Jan 20, 2017

I'm not using any frond-end. I've wrote a bunch of php files to handle my calls to youtube-dl.

Also if you var_dump output of youtube-dl, you can see the relative addresses of the files it's downloaded but it also has a lot of other info that I do not need and the paths are not absolute as well. So I was wondering if it's possible to achieve what I asked for with it.

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Jan 20, 2017

all youtube-dl paths are relative to the current directory.

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

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.