[clug] Linux media for libraries?

Scott Ferguson scott.ferguson.clug at gmail.com
Thu Apr 16 04:36:35 MDT 2015


On 16/04/15 19:02, Bryan Kilgallin wrote:
> Hi, Michael:
> 
>> If it's written in a book it's probably already out of date.
> 
> Video and audio titles could be requested. Is there a published DVD or
> CD about Linux?

Yes

If only there was some sort of web interface that would "search" the web
for an answer to that question! ;p

Michael's suggestion has much merit - you'll find one way of finding
online video "training" resources, and downloading them, for free, using
Linux, in the attached script.

Happy learning :)

> 
>> I would suggest you look for online resources. 
> 
<snipped>


Kind regards


P.S. In case you're wondering - it scrapes a returned youtube search
query for "learning linux" and downloads *all* (currently 23) videos
matching those search terms.

-------------- next part --------------
#!/bin/bash
#  requires clive and curl installed "sudo apt-get -y install curl clive"
# don't forget to make this script executable "chmod +x youtuber"
# execute it with "./youtube" (from the same directory)
for i in $(Url=https://www.youtube.com/results?search_query=learning+linux;curl $Url 2>&1 | grep -o -E 'href="([^"#]+)"' | cut -d'"' -f2 | grep ^/watch | sed '$!N; /^\(.*\)\n\1$/!P; D')
do clive https://www.youtube.com$i
done


More information about the linux mailing list