[Trisquel-users] Need help modifying a script

2016-02-07 Thread gnuser
Hey guys. So, I am trying to modify a script to download youtube videos. I want to have a bash script, and couldn't find anything already done on the web, so I looked around and found this: https://calomel.org/youtube_wget.html They use Perl, but I want to use bash (besides Perl is freaking

Re: [Trisquel-users] Need help modifying a script

2016-02-07 Thread gnuser
problem with youtube-dl is the lack of support for Tor. I have been working to make this script to be only bash, some basic sed/grep/cut/whatever and curl (which has Tor support). I know it is not "simple" but thought that maybe someone could give me pointers on the link I provided as "this

Re: [Trisquel-users] Need help modifying a script

2016-02-07 Thread pinmaritim
GNUser your first post & last sentence indicates that you wish to download while using TOR This will reveal your non-Tor IP address and de-anonymize you https://www.torproject.org/download/download.html.en#Warning

Re: [Trisquel-users] Need help modifying a script

2016-02-07 Thread onpon4
BitTorrent is a special case because of the way the protocol works and the way BitTorrent clients behave. You can't generalize all downloading based on what they say about BitTorrent. PDFs and other documents are also a special case. There isn't anything in video formats that can specify

Re: [Trisquel-users] Need help modifying a script

2016-02-07 Thread onpon4
Where do you get the idea that downloading something will reveal your IP address from that? It's not very nice for the network, but if the program is properly configured, there's no particular danger.

Re: [Trisquel-users] Need help modifying a script

2016-02-07 Thread pinmaritim
Tor is not aimed at downloading videos from youtube! and even less for Torrents Even for PDF it is not recommended by the https://www.torproject.org/download/download.html.en#Warning If you want to dowload use a VPN Anonimity matters! the respect of others too

Re: [Trisquel-users] Need help modifying a script

2016-02-07 Thread greatgnu
That is correct, about torrenting over Tor - it **will** reveal punctually and always your real IP address. Consider though, as Onpon said, that if you configure properly **any** application which support the use of tor, then you can download and stay safe. Also, downloading PDFs and Docs

Re: [Trisquel-users] Need help modifying a script

2016-02-07 Thread pinmaritim
Darn then i've been ""over precautious"" :) You see i always seen that as a potential risk Thanks Opon4 & SuperTramp83 :-)

Re: [Trisquel-users] Need help modifying a script

2016-02-07 Thread dguthrie
So why do they allow the Tor browser to view PDF in the built-in viewer? It seems like something they should advise against.

Re: [Trisquel-users] Need help modifying a script

2016-02-07 Thread jbar
GNUser: "They use Perl, but I want to use bash (besides Perl is freaking weird to me, never learned to work with it). Basically I need only to learn how to look through the html of a youtube video page, and get the video url to download." Remember that bash is not a general purpose

Re: [Trisquel-users] Need help modifying a script

2016-02-07 Thread dguthrie
You need to work out how Youtube streams its videos now. I doubt it would simply have some hidden file with each video: it seems to send the user it in parts, which can then be assembled into a single video. Therefore you need to work out how you can make Youtube think you are streaming the

Re: [Trisquel-users] Need help modifying a script

2016-02-07 Thread gnuser
Hey guys. Tried Magic Banana's method of "youtube-dl --external-downloader" but it doesn't work. I suppose youtube-dl still makes it own connection to DNS server, and my firewall is rejecting non-torified access (which is not a bug, I actually set it like that to prevent leaks). So, yeah,

Re: [Trisquel-users] Need help modifying a script

2016-02-07 Thread onpon4
I'd think the built-in PDF viewer would fetch external resources the same as the rest of the browser, which means through Tor. If that's the case (and it would be really strange if it isn't), then there's no danger.

Re: [Trisquel-users] Need help modifying a script

2016-02-07 Thread vitacell
Hi, can you make some example command for download a video from youtube? and save it to .webm. I always download with DownThemAll plugin.

Re: [Trisquel-users] Need help modifying a script

2016-02-07 Thread dguthrie
A program already exists for this purpose; it is called youtube-dl, and is in Trisquel's repositories. It can also download videos from other websites. It is not as simple as a script that finds where Youtube stores the file for the video. You should look at the youtube-dl source code if you