Changeset 42464 for titan/mediathek/localparser_secret/beeg.sh
- Timestamp:
- 05/12/18 22:27:40 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/mediathek/localparser_secret/beeg.sh
r42432 r42464 2 2 # box parser for titannit 3 3 4 . /tmp/localhoster/hoster.sh 4 case $2 in 5 init) echo skip load hoster.sh;; 6 *) . /tmp/localhoster/hoster.sh;; 7 esac 5 8 6 9 SRC=$1 … … 9 12 URL="https://beeg.com/api/v6/1525723877/" 10 13 PARSER=`echo $SRC | tr '/' '\n' | tail -n1 | sed 's/.sh//'` 11 NAME=`echo -n ${PARSER:0:1} | tr '[a-z]' '[A-Z]'`${PARSER:1} 14 NAME=`echo -n ${PARSER:0:1} | tr '[a-z]' '[. /tmp/localhoster/hoster.sh 15 A-Z]'`${PARSER:1} 12 16 13 17 FILENAME="`echo $SRC | tr '/' '\n' | tail -n1 | sed 's/.sh//'` $INPUT $PARAM" 14 18 FILENAME="`echo $FILENAME | sed -e 's/\&\+/./g' -e 's#\/\+#.#g' -e 's/\?\+/./g' -e 's/;\+/./g' -e 's/=\+/./g' -e 's/ \+/./g' -e 's/\.\+/./g'`" 15 19 PICNAME=`echo $FILENAME` 16 17 20 18 21 rm -rf $TMP > /dev/null 2>&1
Note: See TracChangeset
for help on using the changeset viewer.