Changeset 42009


Ignore:
Timestamp:
03/22/18 23:17:10 (6 years ago)
Author:
tt4sk
Message:

[TiThek] fixed: pornhub website changed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/mediathek/localparser_secret/pornhub.sh

    r41966 r42009  
    122122                        }
    123123                        # 12. nextpage zeile
    124                         # <a href=\"\/video?c=28
    125                         /<a href=\"\/video?/ \
     124                        # href=\"\/video?c=28
     125                        /href=\"\/video?/ \
    126126                        {
    127127                                if (suche == 1)
    128128                                {
    129                                         # <a href="/video?c=28" onclick="ga.....>
     129                                        # href="/video?c=28" onclick="ga.....>
    130130                                        # 13. extrahiere den newpage pfad
    131131                                        i = index($0, "href=\"") + 6
     
    466466                                                        # in naechste zeile springen
    467467                                                        # \x27 = single quotes
    468                                                         print title "#" SRC " " SRC " hoster \x27" newpage "\x27#" pic "#" PICNAME "." piccount ".jpg#" NAME "#111"
     468                                                        print title "#" SRC " " SRC " play \x27" newpage "\x27#" pic "#" PICNAME "." piccount ".jpg#" NAME "#111"
    469469                                                }
    470470               
     
    529529
    530530                                if [ `cat $TMP/$FILENAME.list | grep "#$NEWPAGE#" | wc -l` -eq 0 ];then
    531                                         LINE="$TITLE#$SRC $SRC hoster '$NEWPAGE'#$PIC#$FILENAME.$FILENAME.$NEXT.$piccount.jpg#$NAME#111"
     531                                        LINE="$TITLE#$SRC $SRC play '$NEWPAGE'#$PIC#$FILENAME.$FILENAME.$NEXT.$piccount.jpg#$NAME#111"
    532532                                fi
    533533                                echo "$LINE" >> $TMP/$FILENAME.list
     
    704704#                                                       # in naechste zeile springen
    705705#                                                       # \x27 = single quotes
    706 #                                                       print title "#" SRC " " SRC " hoster \x27" newpage "\x27#" pic "#" PICNAME "." piccount ".jpg#" NAME "#111"
     706#                                                       print title "#" SRC " " SRC " play \x27" newpage "\x27#" pic "#" PICNAME "." piccount ".jpg#" NAME "#111"
    707707#                                               }
    708708#               
     
    746746                                                        # in naechste zeile springen
    747747                                                        # \x27 = single quotes
    748 #                                                       print title " (" extra ")#" SRC " " SRC " hoster \x27" newpage "\x27#" pic "#" PICNAME "." piccount ".jpg#" NAME "#111"
     748#                                                       print title " (" extra ")#" SRC " " SRC " play \x27" newpage "\x27#" pic "#" PICNAME "." piccount ".jpg#" NAME "#111"
    749749                                                        print title " (" extra ")#" SRC " " SRC " search \x27" newpage "?page=\x27 1#" pic "#" PICNAME "." piccount ".jpg#" NAME "#0"
    750750
     
    772772}
    773773
    774 hoster()
     774play()
    775775{
    776 #       rm $TMP/cache.$PARSER.$INPUT.* > /dev/null 2>&1
    777 #       /tmp/localhoster/hoster.sh youtube_dl $URL$PAGE > $TMP/cache.$PARSER.$INPUT.1
    778 #       STREAMURL=`cat $TMP/cache.$PARSER.$INPUT.1`
    779 #       echo $STREAMURL
    780         echo $URL$PAGE
     776        rm $TMP/cache.$PARSER.$INPUT.* > /dev/null 2>&1
     777        /tmp/localhoster/hoster.sh youtube_dl $URL$PAGE > $TMP/cache.$PARSER.$INPUT.1
     778        STREAMURL=`cat $TMP/cache.$PARSER.$INPUT.1`
     779        cat $STREAMURL
     780#       echo $URL$PAGE
    781781}
    782782
     
    784784        init) $INPUT;;
    785785        mainmenu) $INPUT;;
    786         hoster) $INPUT;;
     786        play) $INPUT;;
    787787        search) $INPUT;;
    788788        searchold) $INPUT;;
Note: See TracChangeset for help on using the changeset viewer.