Hi all. Today I have a difficult question.
I want to import a fork of youtube-dl in my app.
There is a youtube-dl android port . Which basically is a wrapper for youtube-dl. Unfortunately I have no idea how to implement it.
Does anyone have something to help me move towards my goal?
Thank you,
TSF Anonwins
Yeah in my case I don't know java or python, lol. Thanks anyways.
One more question: is there some way to interrupt a web component request? Let's say there's a file downloading, and I just want to cancel. Do I have to wait until the download has finished? Thanks
TIMAI2
August 29, 2021, 1:27pm
4
There is no method to stop it, but you can handle what to do with it in the GotFile event (e.g. save/delete)
please note however:
Not sure when it broke, but it is now not possible to download a file using the web component. Tested with image and text files from a standard file server and google drive.
At present, GotText still seems to work OK.
[image]
[image]
webComponentTest.aia (1.9 KB)
TIMAI2
August 29, 2021, 1:29pm
5
Did you see the skulpt link?
I did, but for now I think I'll implement another approach. Thank you
Would you happen to know if there is filesystem access in skulpt? Would the script be able to download a file for example? Thanks
anonwins:
skulpt
just wanted to know are you using some 3rd party module/library in your program
right now no, only some extensions. no libraries, why?
anonwins:
no libraries
i am asking in the python code ,
anonwins:
no libraries, why?
because as far as i know you cant use 3rd party modules in skulpt
system
Closed
September 6, 2021, 10:02am
11
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.