Changeset 42136
- Timestamp:
- 04/02/18 02:04:47 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/mediathek/localparser_secret/foxx.sh
r41970 r42136 180 180 TEMP=$(cat $TMP/cache.$PARSER.$INPUT.2) 181 181 $curlbin $TEMP -o $TMP/cache.$PARSER.$INPUT.3 182 cat $TMP/cache.$PARSER.$INPUT.3 | grep -E "sources:*" >$TMP/cache.$PARSER.$INPUT.4 183 cat $TMP/cache.$PARSER.$INPUT.4 | grep -o "http[^ ]*"| sed -e 's/,/ /g' -e 's/}//g' -e 's/{//g' -e 's/\"//g' -e 's/file/\nfile/g' -e 's/file://g' -e 's/type:mp4//g' -e 's/default:true//g' -e 's/\]//g' >$TMP/cache.$PARSER.$INPUT.5 182 cat $TMP/cache.$PARSER.$INPUT.3 | grep -A 10 "var decodeABC" >$TMP/cache.$PARSER.$INPUT.4 183 echo "print(decodeABC(jbdaskgs));" >> $TMP/cache.$PARSER.$INPUT.4 184 $DUKBIN $TMP/cache.$PARSER.$INPUT.4 > $TMP/cache.$PARSER.$INPUT.5 185 cat $TMP/cache.$PARSER.$INPUT.5 | grep -o "http[^ ]*"| sed -e 's!{! !g' -e 's/}//g' -e 's/{//g' -e 's/\"//g' -e 's/file/\nfile/g' -e 's/file://g' -e 's/type:mp4//g' -e 's/default:true//g' -e 's/\]//g' >$TMP/cache.$PARSER.$INPUT.6 186 echo >> $TMP/cache.$PARSER.$INPUT.6 184 187 while read -u 3 ROUND; do 185 NEWPAGE=$(echo $ROUND | cut -d"" -f1)186 TITLE=$(echo $ROUND | cut -d" " -f2 | cut -d":" -f2)188 NEWPAGE=$(echo $ROUND | grep -o "http[^ ]*" | cut -d "," -f1) 189 TITLE=$(echo $ROUND | grep -o "label[^ ]*" | cut -d "," -f1 | sed -e 's!label:!!g' -e 's!"!!g') 187 190 if [ ! -z "$TITLE" ] && [ "$TITLE" != " " ] && [ ! -z "$NEWPAGE" ];then 188 191 PIC=`echo $TITLE | tr [A-Z] [a-z]` … … 190 193 echo "$LINE" >> $TMP/$PARSER.$INPUT.list 191 194 fi 192 done 3<$TMP/cache.$PARSER.$INPUT. 5195 done 3<$TMP/cache.$PARSER.$INPUT.6 193 196 rm $TMP/cache.$PARSER.$INPUT.* > /dev/null 2>&1 194 197 … … 221 224 $curlbin $TEMP -o $TMP/cache.$PARSER.$INPUT.3 222 225 cat $TMP/cache.$PARSER.$INPUT.3 | grep -E "sources:*" >$TMP/cache.$PARSER.$INPUT.4 223 cat $TMP/cache.$PARSER.$INPUT.4 | grep -o "http[^ ]*"| sed -e 's/,/ /g' -e 's/}//g' -e 's/{//g' -e 's/\"//g' -e 's/file/\nfile/g' -e 's/file://g' -e 's/type:mp4//g' -e 's/default:true//g' -e 's/\]//g' | cut -d" " -f1>$TMP/cache.$PARSER.$INPUT.5226 cat $TMP/cache.$PARSER.$INPUT.4 | grep -o "http[^ ]*"| sed -e 's/,/ /g' -e 's/}//g' -e 's/{//g' -e 's/\"//g' -e 's/file/\nfile/g' -e 's/file://g' -e 's/type:mp4//g' -e 's/default:true//g' -e 's/\]//g' >$TMP/cache.$PARSER.$INPUT.5 224 227 225 228 cat $TMP/cache.$PARSER.$INPUT.5 > $TMP/$PARSER.playlist.list
Note: See TracChangeset
for help on using the changeset viewer.