Changeset 42934 for titan/mediathek


Ignore:
Timestamp:
Oct 20, 2018, 9:56:15 PM (21 months ago)
Author:
obi
Message:

tithek fix mediathekdirekt

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/mediathek/localparser_free/mediathekdirect.sh

    r42464 r42934  
    9191#curl http://www.mediathekdirekt.de/good.json | tr '[' '\n'|  cut -d"," -f4 | grep -v [a-z] | grep -v [A-Z] | grep "[0.9].[0.9].[0.9]" | sort -u | sort -r -k 1.10 -k 1.6 | sed '1,1d'
    9292        if [ ! -e "$TMP/$FILENAME.list" ]; then
    93                 $curlbin $URL/$PAGE | tr '[' '\n'|  cut -d"," -f4 | grep -v [a-z] | grep -v [A-Z] | grep "[0.9].[0.9].[0.9]" | sort -u | sort -r -k 1.10 -k 1.6 | sed '1,1d' > $TMP/cache.$FILENAME.1
     93                $curlbin --compressed $URL/$PAGE | tr '[' '\n'|  cut -d"," -f4 | grep -v [a-z] | grep -v [A-Z] | grep "[0.9].[0.9].[0.9]" | sort -u | sort -r -k 1.10 -k 1.6 | sed '1,1d' > $TMP/cache.$FILENAME.1
    9494
    9595                rm $TMP/$FILENAME.list > /dev/null 2>&1
     
    106106{
    107107        if [ ! -e "$TMP/$FILENAME.list" ]; then
    108                 $curlbin -o - $URL/$PAGE | tr '[' '\n' | awk '{ gsub(/\\"/, "\x27"); print }'  | grep ^'"' | awk '{ gsub(/\", \"/, "\" ; \""); print }' | cut -d ";" -f1 | sort -u > $TMP/cache.$FILENAME.1
     108                $curlbin --compressed -o - $URL/$PAGE | tr '[' '\n' | awk '{ gsub(/\\"/, "\x27"); print }'  | grep ^'"' | awk '{ gsub(/\", \"/, "\" ; \""); print }' | cut -d ";" -f1 | sort -u > $TMP/cache.$FILENAME.1
    109109                rm $TMP/$FILENAME.list > /dev/null 2>&1
    110110       
     
    121121{
    122122        if [ ! -e "$TMP/$FILENAME.list" ]; then
    123                 $curlbin -o - $URL/$PAGE | tr '[' '\n' | awk '{ gsub(/\\"/, "\x27"); print }'  | grep ^'"' | awk '{ gsub(/\", \"/, "\" ; \""); print }' | cut -d ";" -f3 | sort -u | grep ^' "' > $TMP/cache.$FILENAME.1
     123                $curlbin --compressed -o - $URL/$PAGE | tr '[' '\n' | awk '{ gsub(/\\"/, "\x27"); print }'  | grep ^'"' | awk '{ gsub(/\", \"/, "\" ; \""); print }' | cut -d ";" -f3 | sort -u | grep ^' "' > $TMP/cache.$FILENAME.1
    124124                rm $TMP/$FILENAME.list > /dev/null 2>&1
    125125       
     
    173173{
    174174        if [ ! -e "$TMP/$FILENAME.list" ]; then
    175                 $curlbin -o - $URL/$PAGE | tr '[' '\n' | awk -v SRC=$SRC -v NAME=$NAME -v PICNAME=$PICNAME \
     175                $curlbin --compressed -o - $URL/$PAGE | tr '[' '\n' | awk -v SRC=$SRC -v NAME=$NAME -v PICNAME=$PICNAME \
    176176                '
    177177                        # BEGIN variable setzen
Note: See TracChangeset for help on using the changeset viewer.