This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
list=`lynx -source $1 | grep -o -e 'https[^"]*.m3u8' | xargs` | |
course="${1##*/}" | |
mkdir $course | |
echo ">>> $(echo $list | wc -w) video(s) found" | |
c=1 | |
for video in $list |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
// EsFormatter specific options | |
// default are specified here https://github.com/millermedeiros/esformatter/blob/master/lib/preset/default.json | |
"format_options" : { | |
// You can change the preset for any other available on ESFormatter | |
// Ref: https://github.com/millermedeiros/esformatter/tree/master/lib/preset | |
// e.g.: "preset": "jquery" | |
"preset": "default", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{macro main()} | |
<h1>Hello Instant Aria Templates</h1> | |
{/macro} |