source: titan/mediathek/localhoster/hoster.sh @ 41995

Last change on this file since 41995 was 41995, checked in by obi, 3 years ago

test

  • Property svn:executable set to *
File size: 29.6 KB
Line 
1#!/bin/sh
2# first sh box hoster for titannit mfg obi
3
4TYPE=$1
5INPUT=$2
6DEST=$3
7USER=$DEST
8PASS=$4
9
10INPUT=`echo $INPUT | sed 's!/Out/?s=!!g'`
11
12#FILENAME="`echo $SRC | tr '/' '\n' | tail -n1 | sed 's/.sh//'` $INPUT $PAGE $NEXT"
13FILENAME="`echo $INPUT | sed -e 's/\-\+/./g' | sed -e 's/\+\+/./g' | sed -e 's/\&\+/./g' -e 's#\/\+#.#g' -e 's/\?\+/./g' -e 's/:\+/./g' -e 's/;\+/./g' -e 's/=\+/./g' -e 's/ \+/./g' -e 's/\.\+/./g'`"
14PICNAME=`echo $FILENAME`
15
16if [ -z "$FILENAME" ]; then
17        FILENAME=none
18fi
19
20ARCH=`cat /etc/.arch`
21BOX=`cat /etc/model`
22TMP=/tmp/localcache
23CMD=/tmp/localhoster
24BIN="$CMD"/bin/python."$ARCH"
25HLSBIN="$CMD"/bin/hlsdl."$ARCH"
26CURLBIN="$CMD"/bin/curl."$ARCH"
27if [ ! -e "$CURLBIN" ];then CURLBIN=curl; fi
28#USERAGENT='Mozilla/5.0 (Windows NT 6.3; rv:36.0) Gecko/20100101 Firefox/36.0'
29USERAGENT='Mozilla%2F5.0+%28Windows+NT+6.3%3B+rv%3A36.0%29+Gecko%2F20100101+Firefox%2F36.0'
30debuglevel=`cat /mnt/config/titan.cfg | grep debuglevel | cut -d"=" -f2`
31curlbin="$CURLBIN -k -s -L --cookie /mnt/network/cookies --cookie-jar /mnt/network/cookies -A $USERAGENT"
32curlbin2="$CURLBIN -k -s --cookie /mnt/network/cookies --cookie-jar /mnt/network/cookies -A $USERAGENT"
33youtubebin="$CMD/lib/youtube_dl/__main__.py --no-check-certificate --cookies /mnt/network/cookies --user-agent $USERAGENT --format mp4 --restrict-filenames --ignore-errors -g"
34youtubebinbg="$CMD/lib/youtube_dl/__main__.py --no-check-certificate --cookies /mnt/network/cookies --user-agent $USERAGENT --format mp4 --restrict-filenames --ignore-errors --output"
35hlsdlbg="$HLSBIN -u $USERAGENT -o"
36
37if [ -e /mnt/network/cookies ];then sed 's/#HttpOnly_//g' -i /mnt/network/cookies; fi
38
39export PYTHONHOME=/tmp/localhoster
40export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/tmp/localhoster/lib
41
42if [ "$debuglevel" == "99" ]; then curlbin="$curlbin -v"; fi
43if [ "$debuglevel" == "99" ]; then curlbin2="$curlbin2 -v"; fi
44if [ "$debuglevel" == "99" ]; then youtubebin="$youtubebin --verbose"; fi
45
46wgetbin="wget -q -T2"
47
48if [ ! -e "/tmp/localhoster/lib/python2.7/lib-dynload" ] && [ -e /tmp/localhoster/lib/python2.7/lib-dynload."$ARCH" ];then
49#       ln -fs /tmp/localhoster/lib/python2.7/lib-dynload."$ARCH" /tmp/localhoster/lib/python2.7/lib-dynload
50        time mv -f /tmp/localhoster/lib/python2.7/lib-dynload."$ARCH" /tmp/localhoster/lib/python2.7/lib-dynload
51        time rm -rf /tmp/localhoster/lib/python2.7/lib-dynload.*
52fi
53if [ ! -e "/tmp/localhoster/lib/libpython2.7.so.1.0" ] && [ -e /tmp/localhoster/lib/libpython2.7.so.1.0."$ARCH" ];then
54#       ln -fs /tmp/localhoster/lib/libpython2.7.so.1.0."$ARCH" /tmp/localhoster/lib/libpython2.7.so.1.0
55        time mv -f /tmp/localhoster/lib/libpython2.7.so.1.0."$ARCH" /tmp/localhoster/lib/libpython2.7.so.1.0
56        time rm -f /tmp/localhoster/lib/libpython2.7.so.1.0.*
57fi
58if [ ! -e "/tmp/localhoster/lib/libcrypto.so.1.0.0" ] && [ -e /tmp/localhoster/lib/libcrypto.so.1.0.0."$ARCH" ];then
59#       ln -fs /tmp/localhoster/lib/libcrypto.so.1.0.0."$ARCH" /tmp/localhoster/lib/libcrypto.so.1.0.0
60        time mv -f /tmp/localhoster/lib/libcrypto.so.1.0.0."$ARCH" /tmp/localhoster/lib/libcrypto.so.1.0.0
61        time rm -f /tmp/localhoster/lib/libcrypto.so.1.0.0.*
62fi
63if [ ! -e "/tmp/localhoster/lib/libssl.so.1.0.0" ] && [ -e /tmp/localhoster/lib/libssl.so.1.0.0."$ARCH" ];then
64#       ln -fs /tmp/localhoster/lib/libssl.so.1.0.0."$ARCH" /tmp/localhoster/lib/llibssl.so.1.0.0
65        time mv -f /tmp/localhoster/lib/libssl.so.1.0.0."$ARCH" /tmp/localhoster/lib/libssl.so.1.0.0
66        time rm -f /tmp/localhoster/lib/libssl.so.1.0.0.*
67fi
68
69if [ -e "$TMP/hoster.tar" ]; then time rm -f $TMP/hoster.tar; fi
70if [ -e "$TMP/parser.tar" ]; then time rm -f $TMP/parser.tar; fi
71
72if [ "$ARCH" == "sh4" ];then #&& [ "$BOX" != "ufs912" ]; then
73        if [ -e "$CMD/lib/python2.7/lib-dynload.mipsel" ]; then time rm -rf $CMD/lib/python2.7/lib-dynload.mipsel; fi
74        if [ -e "$CMD/lib/python2.7/lib-dynload.arm" ]; then time rm -rf $CMD/lib/python2.7/lib-dynload.arm; fi
75
76        if [ -e "$CMD/lib/libpython2.7.so.1.0.mipsel" ]; then time rm -rf $CMD/lib/libpython2.7.so.1.0.mipsel; fi
77        if [ -e "$CMD/lib/libpython2.7.so.1.0.arm" ]; then time rm -rf $CMD/lib/libpython2.7.so.1.0.arm; fi
78
79        if [ -e "$CMD/lib/libssl.so.1.0.0.mipsel" ]; then time rm -rf $CMD/lib/libssl.so.1.0.0.mipsel; fi
80        if [ -e "$CMD/lib/libssl.so.1.0.0.arm" ]; then time rm -rf $CMD/lib/libssl.so.1.0.0.arm; fi
81
82        if [ -e "$CMD/lib/libcrypto.so.1.0.0.mipsel" ]; then time rm -rf $CMD/lib/libcrypto.so.1.0.0.mipsel; fi
83        if [ -e "$CMD/lib/libcrypto.so.1.0.0.arm" ]; then time rm -rf $CMD/lib/libcrypto.so.1.0.0.arm; fi
84fi
85
86hostercheck=`echo $INPUT | tr 'A-Z' 'a-z' | sed 's!://!\n!' | cut -d'/' -f1 | tail -n1 | tr '.' '\n' | wc -l`
87hosterline=`expr $hostercheck - 1`
88hoster=`echo $INPUT | tr 'A-Z' 'a-z' | sed 's!://!\n!' | cut -d'/' -f1 | tail -n1 | cut -d"." -f$hosterline`
89#echo $hoster
90
91ecostream()
92{
93        hosterurl=http://www.ecostream.tv
94        data="tpm=`$curlbin $INPUT | grep footerhash | cut -d"'" -f2``$curlbin $INPUT | grep superslots | cut -d"'" -f2`&id=`$curlbin $INPUT | grep data-id | cut -d'"' -f4`"
95        streampage=`$curlbin $hosterurl/js/ecoss.js | grep "$.post('" | grep videos | cut -d"'" -f2`
96        streamurl=$hosterurl`$curlbin -H "X-Requested-With: XMLHttpRequest" -X POST --data "$data" --referer $INPUT $hosterurl/$streampage | cut -d'"' -f6`
97        if [ "`echo $streamurl | grep DOCTYPE | wc -l`" -eq 0 ] && [ "$streamurl" != "$hosterurl" ];then
98                echo $streamurl
99        fi
100}
101
102giga()
103{
104        streampage=`$curlbin $INPUT | grep "<iframe src=" | cut -d'"' -f2 | head -n1`
105        streamurl=`$curlbin $streampage | grep '{file:' | cut -d'"' -f2 | grep 1080p`
106        if [ -z "$streamurl" ];then
107                streamurl=`$curlbin $streampage | grep '{file:' | cut -d'"' -f2 | grep 720p`
108        fi
109        if [ -z "$streamurl" ];then
110                streamurl=`$curlbin $streampage | grep '{file:' | cut -d'"' -f2 | grep 480p`
111        fi
112        if [ -z "$streamurl" ];then
113                streamurl=`$curlbin $streampage | grep '{file:' | cut -d'"' -f2 | grep 360p`
114        fi
115        if [ -z "$streamurl" ];then
116                streamurl=`$curlbin $streampage | grep '{file:' | cut -d'"' -f2 | grep 240p`
117        fi
118        if [ -z "$streamurl" ];then
119                streamurl=`$curlbin $streampage | grep '{file:' | cut -d'"' -f2 | grep 180p`
120        fi
121        echo $streamurl
122}
123
124vidup()
125{
126        $BIN $CMD/vidup.py $INPUT
127}
128
129nosvideo()
130{
131        $BIN $CMD/nosvideo.py $INPUT
132}
133
134allmyvideos()
135{
136        $BIN $CMD/allmyvideos.py $INPUT
137}
138
139flashx()
140{
141        $BIN $CMD/flashx.py $INPUT
142}
143
144openload()
145{
146        $BIN $CMD/openload.py $INPUT
147}
148
149briskfile()
150{
151        $BIN $CMD/briskfile.py $INPUT
152}
153
154vodlockerold()
155{
156        $BIN $CMD/vodlocker.py $INPUT
157}
158
159videoweed()
160{
161        $BIN $CMD/videoweed.py $INPUT
162}
163
164vodzi()
165{
166        $BIN $CMD/vodzi.py $INPUT
167}
168
169youwatch()
170{
171        $BIN $CMD/youwatch.py $INPUT
172}
173
174thevideo()
175{
176        $BIN $CMD/thevideo.py $INPUT
177}
178
179movshare()
180{
181        $BIN $CMD/movshare.py $INPUT
182}
183
184streamcloud()
185{
186        $BIN $CMD/streamcloud.py $INPUT
187}
188
189vidzi()
190{
191        $BIN $CMD/vidzi.py $INPUT
192}
193
194vivo()
195{
196        $BIN $CMD/vivo.py $INPUT
197}
198
199vidto()
200{
201        $BIN $CMD/vidto.py $INPUT
202}
203
204goldesel()
205{
206        $BIN $CMD/goldesel.py $INPUT
207}
208
209cloudflare()
210{
211        $BIN $CMD/cloudflare.py $INPUT
212}
213
214nowvideo()
215{
216        $BIN $CMD/nowvideo.py $INPUT
217}
218
219divxstage()
220{
221        $BIN $CMD/divxstage.py $INPUT
222}
223
224novamov()
225{
226        $BIN $CMD/novamov.py $INPUT
227}
228
229xvidstage()
230{
231        $BIN $CMD/xvidstage.py $INPUT
232}
233
234waaw()
235{
236        $BIN $CMD/waaw.py $INPUT
237}
238
239streamango()
240{
241        $BIN $CMD/streamango.py $INPUT
242}
243
244vidlox()
245{
246        $BIN $CMD/vidlox.py $INPUT
247}
248
249vodlocker()
250{
251        rm -f $TMP/cache.hoster.$hoster.* > /dev/null 2>&1
252
253        STREAMLIST="$TMP/$TYPE.$hoster.$FILENAME.streamlist"
254        if [ -e "$STREAMLIST" ];then
255                rm -f $STREAMLIST > /dev/null 2>&1
256        fi
257
258        $curlbin "$INPUT" -o $TMP/cache.hoster.$hoster.1
259        cat $TMP/cache.hoster.$hoster.1 | sed 's/<source src=/\nfound=/g' | grep ^found= | cut -d"'" -f2 >$TMP/cache.hoster.$hoster.1.url1
260        URL=`cat $TMP/cache.hoster.$hoster.1.url1`
261
262        if [ ! -z "$URL" ];then
263#               echo "$URL" >> $STREAMLIST
264
265                REFERER=`echo "$INPUT" | sed -e 's/=/%3D/g' -e 's/&/%26/g'`
266                echo "$URL|Referer=$REFERER&User-Agent=$USERAGENT" >> $STREAMLIST
267#               echo "$URL|User-Agent=$USERAGENT" >> $STREAMLIST
268
269                sed 's/#HttpOnly_//g' -i /mnt/network/cookies
270
271        fi
272
273        URL=$STREAMLIST
274
275        echo "$URL"
276}
277
278aliezold()
279{
280        URL=`$curlbin "$INPUT" | sed 's/source:/\nsource:/' | grep ^source: | cut -d"'" -f2`
281        REFERER=`echo "$INPUT" | sed -e 's/=/3D/g' -e 's/&/26/g'`
282        echo "$URL|Referer=$REFERER&User-Agent=$USERAGENT"
283}
284
285aliez()
286{
287        rm -f $TMP/cache.hoster.$hoster.* > /dev/null 2>&1
288        #http://emb.aliez.me/player/live.php?id=56180&w=700&h=480"
289        REFERER=`echo "$INPUT" | sed -e 's/=/%3D/g' -e 's/&/%26/g'`
290        EXTRA="|Referer=$REFERER&User-Agent=$USERAGENT"
291
292        STREAMLIST="$TMP/$TYPE.$hoster.$FILENAME.streamlist"
293        if [ -e "$STREAMLIST" ];then
294                rm -f $STREAMLIST > /dev/null 2>&1
295        fi
296
297        $curlbin "$INPUT" -o $TMP/cache.hoster.$hoster.1
298        cat $TMP/cache.hoster.$hoster.1 | sed 's/source:/\nfound=/' | grep ^found= | cut -d"'" -f2 >$TMP/cache.hoster.$hoster.url1
299        URL=`cat $TMP/cache.hoster.$hoster.url1 | head -n1`
300        if [ ! -z "$URL" ];then
301                echo "$URL$EXTRA" >> $STREAMLIST
302        fi
303#       URL=""
304        #file:  'http://a3.aliez.me:8080/hls/streama57449/index.m3u8?st=dgw2dOq8tyFkLLBLn2ycXA',
305
306        cat $TMP/cache.hoster.$hoster.1 | sed 's/file:/\nfound=/' | grep ^found= | cut -d"'" -f2 >$TMP/cache.hoster.$hoster.url2
307        URL=`cat $TMP/cache.hoster.$hoster.url2 | head -n1`
308        if [ ! -z "$URL" ];then
309                echo "$URL$EXTRA" >> $STREAMLIST
310        fi
311#URL=""
312        #"file":                "rtmp%3A%2F%2Fa3.aliez.me%2Flive%2Fstreama57449%3Ftoken%3Dd11304fabb8e64327df8427e1c2fd5d9"
313        cat $TMP/cache.hoster.$hoster.1 | sed 's/"file":/\nfound=/' | grep ^found= | cut -d'"' -f2 >$TMP/cache.hoster.$hoster.url3
314        URL=`cat $TMP/cache.hoster.$hoster.url3 | head -n1`
315
316        if [ "`echo $URL | grep rtmp | wc -l`" -eq 1 ];then
317                #new swfobject.embedSWF("http://i.aliez.me/swf/playernew.swf?0", "mediaspace", "700", "480", "9.0.115.0", false, flashvars, params);
318                cat $TMP/cache.hoster.$hoster.1 | sed 's/swfobject.embedSWF/\nfound=/' | grep ^found= | cut -d'"' -f2 >$TMP/cache.hoster.$hoster.url3.rtmp.swfurl
319                SWFURL=`cat $TMP/cache.hoster.$hoster.url3.rtmp.swfurl | head -n1`
320                URL=`echo "$URL" | sed -e 's/%3A/:/g' -e 's!%2F!/!g' -e 's!%3D!=!g' -e 's!%3F!?!g'`
321                EXTRA=" pageUrl=$REFERER"
322                if [ ! -z "$SWFURL" ];then
323                        EXTRA="$EXTRA swfUrl=$SWFURL swfVfy=1 timeout=15 live=1"
324                fi
325                if [ ! -z "$URL" ];then
326                        echo "$URL$EXTRA" >> $STREAMLIST
327                fi
328        fi
329        URL=$STREAMLIST
330
331
332        echo "$URL"
333}
334
335sport7()
336{
337        #http://sport7.tech/487b826914d11080dce4b502052b012d-live.html
338        #var videoLink = 'http://g4.securestream.sport7.tech/stream/NzYyZDUwZWNkODc5YWM5YjViY2ZkOTVhZGNjOGM1ZTc=/BTSport3.m3u8';
339
340        rm -f $TMP/cache.hoster.$hoster.* > /dev/null 2>&1
341        REFERER=`echo "$INPUT" | sed -e 's/=/%3D/g' -e 's/&/%26/g'`
342        EXTRA="|Referer=$REFERER&User-Agent=$USERAGENT"
343
344        STREAMLIST="$TMP/$TYPE.$hoster.$FILENAME.streamlist"
345        if [ -e "$STREAMLIST" ];then
346                rm -f $STREAMLIST > /dev/null 2>&1
347        fi
348
349        $curlbin "$INPUT" -o $TMP/cache.hoster.$hoster.1
350        cat $TMP/cache.hoster.$hoster.1 | sed 's/var videoLink/\nfound=/' | grep ^found= | cut -d"'" -f2 >$TMP/cache.hoster.$hoster.url1
351        URL=`cat $TMP/cache.hoster.$hoster.url1 | head -n1`
352        # enable httponly cookie
353        sed 's/#HttpOnly_//g' -i /mnt/network/cookies
354
355        if [ ! -z "$URL" ];then
356                echo "$URL$EXTRA" > $STREAMLIST
357                #echo "$URL$EXTRA"
358                echo "$STREAMLIST"
359        fi
360       
361       
362#       URL=`$curlbin "$INPUT" | sed 's/var videoLink/\nfound=/' | grep ^found= | cut -d"'" -f2`
363#       REFERER=`echo "$INPUT" | sed -e 's/=/3D/g' -e 's/&/26/g'`
364#       sed 's/#HttpOnly_//g' -i /mnt/network/cookies
365#       echo "$URL|Referer=$REFERER&X-f=96.91.79.87&User-Agent=$USERAGENT"
366#       cat $STREAMLIST
367}
368
369sportstream365()
370{
371        #http://sport7.tech/487b826914d11080dce4b502052b012d-live.html
372        #var videoLink = 'http://g4.securestream.sport7.tech/stream/NzYyZDUwZWNkODc5YWM5YjViY2ZkOTVhZGNjOGM1ZTc=/BTSport3.m3u8';
373
374        rm -f $TMP/cache.hoster.$hoster.* > /dev/null 2>&1
375#       REFERER=`echo "$INPUT" | sed -e 's/=/%3D/g' -e 's/&/%26/g'`
376        REFERER=`echo "$INPUT" | sed -e 's/=/%3D/g' -e 's/&/%26/g'`
377        EXTRA="|Referer=$REFERER&User-Agent=$USERAGENT"
378
379        STREAMLIST="$TMP/$TYPE.$hoster.$FILENAME.streamlist"
380        if [ -e "$STREAMLIST" ];then
381                rm -f $STREAMLIST > /dev/null 2>&1
382        fi
383
384        $curlbin "$INPUT" -o $TMP/cache.hoster.$hoster.1
385
386        #<input type="hidden" name="game" value="146875046">
387        id=$(cat $TMP/cache.hoster.$hoster.1 | sed -nr 's/.*name="game" value="([^"]+)".*/\1/p')
388        ts=$(date +%s)
389        URL="http://sportstream365.com/LiveFeed/GetGame?id=$id&partner=24"
390
391        $curlbin "$URL" --referer "$REFERER" -H "X-Requested-With: ShockwaveFlash/27.0.0.187" -o $TMP/cache.hoster.$hoster.2
392
393
394        #"VI":"1032572"
395        id=$(cat $TMP/cache.hoster.$hoster.2 | sed -nr 's/.*"VI" :"([^"]+)".*/\1/p')
396        if [ -z "$id" ];then
397                id=$(cat $TMP/cache.hoster.$hoster.2 | sed -nr 's/.*"VI":"([^"]+)".*/\1/p')
398        fi
399        #https://github.com/XvBMC/repository.xvbmc/blob/master/Dependencies/script.module.liveresolver/lib/liveresolver/resolvers/sportstream365.py
400        URL=http://93.189.57.254/edge0/xrecord/$id/prog_index.m3u8
401        # enable httponly cookie
402        sed 's/#HttpOnly_//g' -i /mnt/network/cookies
403
404        if [ ! -z "$URL" ];then
405                echo "$URL$EXTRA" > $STREAMLIST
406                #echo "$URL$EXTRA"
407                echo "$STREAMLIST"
408        fi
409}
410
411sportsonline()
412{
413        #http://sportsonline.pw/livetv/pt-sporttv1.html
414        rm -f $TMP/cache.hoster.$hoster.* > /dev/null 2>&1
415        REFERER=`echo "$INPUT" | sed -e 's/=/%3D/g' -e 's/&/%26/g'`
416        EXTRA="|Referer=$REFERER&User-Agent=$USERAGENT"
417
418        STREAMLIST="$TMP/$TYPE.$hoster.$FILENAME.streamlist"
419        if [ -e "$STREAMLIST" ];then
420                rm -f $STREAMLIST > /dev/null 2>&1
421        fi
422
423        $curlbin "$INPUT" -o $TMP/cache.hoster.$hoster.1
424
425        #<iframe src="http://widestream.io/embedClappr.php?live=13593" width="100%" height="100%" scrolling="no" frameborder="0" allowfullscreen="true"></iframe>
426        TMPURL=$(cat $TMP/cache.hoster.$hoster.1 | sed -nr 's/.*iframe src="([^"]+)".*/\1/p')
427
428        $curlbin "$TMPURL" --referer "$REFERER" -H "X-Requested-With: ShockwaveFlash/27.0.0.187" -o $TMP/cache.hoster.$hoster.2
429
430        #source: "http://ultra.widestream.io:8081/wideedge/1022qvk/playlist.m3u8?wmsAuthSign=c2VydmVyX3RpbWU9MTIvOS8yMDE3IDEyOjMyOjQzIEFNJmhhc2hfdmFsdWU9ZW9WeThRL0JmaVA2dnFUQm15Ukkvdz09JnZhbGlkbWludXRlcz0yMA==",
431        TMPURL=$(cat $TMP/cache.hoster.$hoster.2 | sed -nr 's/.*source: "([^"]+)".*/\1/p')
432
433        if [ ! -z "$TMPURL" ];then
434                echo "$TMPURL$EXTRA" > $STREAMLIST
435                #echo "$URL$EXTRA"
436                echo "$STREAMLIST"
437        fi
438}
439
440assia()
441{
442        #http://assia.tv/live/gol-tv/?lang=ru
443        rm -f $TMP/cache.hoster.$hoster.* > /dev/null 2>&1
444        REFERER=`echo "$INPUT" | sed -e 's/=/%3D/g' -e 's/&/%26/g'`
445        EXTRA="|Referer=$REFERER&User-Agent=$USERAGENT"
446
447        STREAMLIST="$TMP/$TYPE.$hoster.$FILENAME.streamlist"
448        if [ -e "$STREAMLIST" ];then
449                rm -f $STREAMLIST > /dev/null 2>&1
450        fi
451
452        $curlbin "$INPUT" -o $TMP/cache.hoster.$hoster.1
453
454        #this.videoplayer2600 = new Uppod({m:"video",uid:"videoplayer2600",comment:"",file:"http://video.assia.tv/hls/50.m3u8?md5=UD9zcmEXXgjdB92hTu9_nw&expires=1512784272",st:"uppodvideo",onReady: function(uppod){setTimeout(uppod.Pause, 60000);}});
455        TMPURL=$(cat $TMP/cache.hoster.$hoster.1 | sed -nr 's/.*file:"([^"]+)".*/\1/p' | tail -n1)
456
457        if [ ! -z "$TMPURL" ];then
458                echo "$TMPURL$EXTRA" > $STREAMLIST
459                #echo "$URL$EXTRA"
460                #http://video.assia.tv/hls/50.m3u8?md5=olw9K2ANtWtCPiL6LreprA&expires=1512783904|User-Agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36
461
462                echo "$STREAMLIST"
463        fi
464}
465
466cricfree()
467{
468        #http://cricfree.sc/update/bt2.php
469        rm -f $TMP/cache.hoster.$hoster.* > /dev/null 2>&1
470        REFERER=`echo "$INPUT" | sed -e 's/=/%3D/g' -e 's/&/%26/g'`
471        EXTRA="|Referer=$REFERER&User-Agent=$USERAGENT"
472
473        STREAMLIST="$TMP/$TYPE.$hoster.$FILENAME.streamlist"
474        if [ -e "$STREAMLIST" ];then
475                rm -f $STREAMLIST > /dev/null 2>&1
476        fi
477
478        $curlbin "$INPUT" -o $TMP/cache.hoster.$hoster.1
479
480        #<iframe frameborder="0" marginheight="0" allowfullscreen="true" marginwidth="0" height="555" src="http://cricfree.sc/update/bt1.php" id="iframe" name="iframe_a" scrolling="no" width="620">Your Browser Do not Support Iframe</iframe>
481        TMPURL1=$(cat $TMP/cache.hoster.$hoster.1 | grep "<iframe" | grep cricfree | sed -nr 's/.*src="([^"]+)".*/\1/p')
482
483#       $curlbin "$INPUT" -o $TMP/cache.hoster.$hoster.1
484        $curlbin "$TMPURL1" -o $TMP/cache.hoster.$hoster.2
485
486        #<script type='text/javascript'>id='bt2i'; width='620'; height='490';</script><script type='text/javascript' src='http://hi.notkodi.science/streamgame.js'></script>
487        TMPURL2=$(cat $TMP/cache.hoster.$hoster.2 | grep "id=" | sed -nr "s/.*src='([^']+)'.*/\1/p")
488        id=$(cat $TMP/cache.hoster.$hoster.2 | grep "id=" | sed -nr "s/.*id='([^']+)'.*/\1/p")
489
490        $curlbin "$TMPURL2" --referer "$REFERER" -H "X-Requested-With: ShockwaveFlash/27.0.0.187" -o $TMP/cache.hoster.$hoster.3
491
492        #document.write('<iframe allowfullscreen width="'+width+'" height="'+height+'" scrolling="no" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" allowtransparency="true" src="http://veremos.date/all.php?id='+id+'&p='+p+'&c='+c+'&stretching='
493        TMPURL3=$(cat $TMP/cache.hoster.$hoster.3 | grep document.write | sed -nr 's/.*src="([^"]+)".*/\1/p')
494
495        #var stretching = 'uniform';
496        stretching=$(cat $TMP/cache.hoster.$hoster.3 | sed -nr "s/.*var stretching = '([^']+)'.*/\1/p")
497
498        #var c = '0';
499        c=$(cat $TMP/cache.hoster.$hoster.3 | sed -nr "s/.*var c = '([^']+)'.*/\1/p")
500
501        #var p = '0';
502        p=$(cat $TMP/cache.hoster.$hoster.3 | sed -nr "s/.*var p = '([^']+)'.*/\1/p")
503
504        #http://veremos.date/all.php?id=bt2i&p=0&c=0&stretching=uniform
505        TMPURL3=$(echo $TMPURL3 | sed -e "s/'+id+'/$id/" -e "s/'+p+'/$p/" -e "s/'+c+'/$c/" -e "s/'+stretching+'/$stretching/")
506
507        #$curlbin http://veremos.date/all.php?id=bt2i&p=0&c=0&stretching=uniform" --referer "http://cricfree.sc/update/bt2.php"
508        $curlbin "$TMPURL3" --referer "$REFERER" -H "X-Requested-With: ShockwaveFlash/27.0.0.187" -o $TMP/cache.hoster.$hoster.4
509
510        #<iframe allowfullscreen="" width="100%" height="100%" scrolling="no" frameborder="0" marginwidth="0" marginheight="0" allowtransparency="true" src="http://soretin.stream/embeds/1all.php?id=256512&st=vkWS1ifC7TSE10IQKmgUEQ&e=1512815257&amp;p=0&amp;c=0&amp;stretching="></iframe>
511        TMPURL4=$(cat $TMP/cache.hoster.$hoster.4 | grep "<iframe" | sed -nr 's/.*src="([^"]+)".*/\1/p')
512
513        #$curlbin "http://soretin.stream/embeds/1all.php?id=256512&st=jOQy59wu1omnfUnNywQLDA&e=1512812987&p=0&c=0&stretching=" --referer "http://veremos.date/all.php?id=bt2i&p=0&c=0&stretching=uniform"
514        $curlbin "$TMPURL4" --referer "$TMPURL3" -H "X-Requested-With: ShockwaveFlash/27.0.0.187" -o $TMP/cache.hoster.$hoster.5
515
516        #return(["h","t","t","p",":","\/","\/","8","0",".","8","2",".","6","5",".","1","6","2","\/","c","a","v","s","c","a","m","p","e","o","n","\/","2","5","6","5","1","2",".","m","3","u","8","?","w","m","s","A","u","t","h","S","i","g","n","2","=","N","W","E","x","N","T","Y","3","Y","W","Y","3","N","j","h","l","Z","g","=","=","&","t","o","k","e","n","="].join("") + yUAerrrlsnutgriaaSbea.join("") + document.getElementById("aieBskfcrugtntihSa").innerHTML);
517        TMPURL=$(cat $TMP/cache.hoster.$hoster.5 | grep 'return(\["' | sed -e 's/","//g' -e 's/\\//g'| cut -d'"' -f2)
518
519        #return(["h","t","t","p",":","\/","\/","8","0",".","8","2",".","6","5",".","1","6","2","\/","c","a","v","s","c","a","m","p","e","o","n","\/","2","5","6","5","1","2",".","m","3","u","8","?","w","m","s","A","u","t","h","S","i","g","n","2","=","N","W","E","x","N","T","Y","3","Y","W","Y","3","N","j","h","l","Z","g","=","=","&","t","o","k","e","n","="].join("") + uaagraneeblAStrsyrrUi.join("") + document.getElementById("rBkacSifaguntesith").innerHTML);
520        #uaagraneeblAStrsyrrUi
521        searchtoken1=$(cat $TMP/cache.hoster.$hoster.5 | grep 'return(\["'| sed -e 's/","//g' -e 's/\\//g' | awk '{ print $3 }' | cut -d"." -f1)
522        #var uaagraneeblAStrsyrrUi = ["3Rp","UJ5","ZoY","c2V","J","jgy","X3Z","9MT","XNo","ydm","ZEp","VyX","0OC","VlP","MDI","bWU","UxM","hbH"];
523        TOKEN1=$(cat $TMP/cache.hoster.$hoster.5 | grep "var $searchtoken1" | sed -e 's/","//g' -e 's/\\//g' | cut -d'"' -f2)
524
525        #return(["h","t","t","p",":","\/","\/","8","0",".","8","2",".","6","5",".","1","6","2","\/","c","a","v","s","c","a","m","p","e","o","n","\/","2","5","6","5","1","2",".","m","3","u","8","?","w","m","s","A","u","t","h","S","i","g","n","2","=","N","W","E","x","N","T","Y","3","Y","W","Y","3","N","j","h","l","Z","g","=","=","&","t","o","k","e","n","="].join("") + uaagraneeblAStrsyrrUi.join("") + document.getElementById("rBkacSifaguntesith").innerHTML);
526        #rBkacSifaguntesith
527        searchtoken2=$(cat $TMP/cache.hoster.$hoster.5 | sed -nr 's/.*document.getElementById\("([^"]+)".*/\1/p')
528        #<span style='display:none' id=uieBiSefkngtshatrc>VZbFOMVlSL3F2lZhaE01Ta9xAWMvwQGwPZnMRY9nZ2ppVXWG</span><span style='display:none' id=suteaentirhgBfkSci>bnMWZL3XFlvAhMVpwPZ0pZ9TFSWnVGwaVMGR9Q22aOYZlEx1</span><span style='display:none' id=tSiBkaefnshuticegr>LWVMAbFZ1VaPhO3MnpF2R29ZlvSEGalwTYp9VMZQX0xZnWwG</span><span style='display:none' id=iecaSftBresutghkin>vVxZVQpVMn0ZS1Pp22nO3hwa9ZFTYRaWGFlMl9wZGEbAXLWM</span><span style='display:none' id=SnstuicrBgfitehake>Th2F1QFSWAZ9MWlPv92Vpw0LOZGwRMXbaV3ZElnMnaYpZVxG</span><span style='display:none' id=stBeiuSheiakfcrngt>bYTxap13WP2ZLlhnMF2GVXlwvWVOASaMEnQw9RVZ90GMZpZF</span><span style='display:none' id=ihenkcraesSiugBftt>wL2xZv9nMXwnZGGaAVVWWQFlZS90EMp3TlaVFP2ORbZpY1Mh</span><span style='display:none' id=hftrceSekuiiastngB>1ZXap0LlnO3VlGGZabWRnFZMMEw2xMvhZwpPVFY9VAWT92SQ</span><span style='display:none' id=inBehfgtcSautirkse>x2a2Zp3OF09XLWQZVbMMwFZnGGRpYnvPha19VEMlATVZWlwS</span><span style='display:none' id=rBkacSifaguntesith>MGZVL2wvanFha3ROWlVFQlE9PSZ2YWxpZG1pbnV0ZXM9MTAw</span><span style='display:none' id=etBirkuaiStfehgcsn>ZA1ZQGZOa39nYpVnWpS2llLwFxvawFVZb0MMPREGhXM2TVW9</span><span style='display:none' id=rshfekaguceSitnBit>pRW2TQMZaVlZ29OWFnXaFMLnV1VxZ3Y0ZGpAb9hPMSwvGEwl</span><span style='display:none' id=irBcttfehsganeSiuk>MTpXZWZb3MvnFZ2wlLFGA9nQpa2SYR9E01VxZGhwWMVOVPla</span><span style='display:none' id=skieftSBngitcuarhe>xAG1QET0WG9lnhZFPpYOa2M9lRZXnaFwVSpWLMbwVZ3MVZv2</span><span style='display:none' id=iSnkrBusfceghttiea>32EbYXWFl1Z2VZMVSGv9pZPMZLaFnaTpAh9OxGlQWMwRVw0n</span><span style='display:none' id=utrtiSfieeasBhnkcg>wZGZWxF2bPpahW9EnMV1TvYw92XlVaMpSLGMQl3OVRnA0FZZ</span><span style='display:none' id=SiisktnfeaghceuBrt>29W1LbRnVlMTZwF2WMEpw9AvGVZ0VYSnZXP3OMhxGZlQpFaa</span><span style='display:none' id=scugBteriiSehafktn>lFTMVV9W3ZhZaA1FMn9YpEvVnaxQL2XSZMpGWbwO2R0lZwPG</span><span style='display:none' id=itefaihSreuBgkcnts>Y0Eb2hQannvFZV2ZGZAaLVZlSMGlFp3V9xXPwMMTR9wO1WWp</span><span style='display:none' id=aecnhiigtuekfSrsBt>naYZSMMPbQnvE9hTVW3Ga2pwZ0GMRZwXpWFZ2llLAxOVVF19</span><span style='display:none' id=citeehgiustarnBSkf>XG29ZphlbYMLSaZ9V3PwWlQpGM12a0ZZvEFwVxWAFOMVnnRT</span><span style='display:none' id=rtcenehgusaikBSfit>3hpv2ZnVXV9lWlYxV0M9wMWPSMAnGa2ZQFROpab1ZwZETGLF</span><span style='display:none' id=csSnhfBitteguakeir>ZnXhv2GpMZP0xaAMQ1YVV9lZROWwaFnWT3M9ZlwF2pEVGLbS</span><span style='display:none' id=stigfkinrehBSaceut>p2wl0RQG3OFZhFMnaTxXV9pvZA2LMbVESWlZaVP1YZwMnG9W</span><html>
529        #MGZVL2wvanFha3ROWlVFQlE9PSZ2YWxpZG1pbnV0ZXM9MTAw
530        TOKEN2=$(cat $TMP/cache.hoster.$hoster.5 | sed "s/id=$searchtoken2/\nfoundid=/" | grep ^"foundid=" | cut -d'>' -f2 | cut -d'<' -f1)
531
532        if [ ! -z "$TMPURL" ];then
533#               echo "$TMPURL$token1$token2$EXTRA" > $STREAMLIST
534                #http://89.248.172.95/cavscampeon/256512.m3u8?wmsAuthSign2=NWExNTY3YWY3NjhlZg==&token=c2VydmVyX3RpbWU9MTUxMjgxMjM4NyZoYXNoX3ZhbHVlPVNrcndRU0Z2Mlp2QlUvbjg4N0lLQWc9PSZ2YWxpZG1pbnV0ZXM9MTAw|Referer=http%3A%2F%2Fsoretin.stream%2Fembeds%2F1all.php%3Fid%3D256512%26st%3DjOQy59wu1omnfUnNywQLDA%26e%3D1512812987%26p%3D0%26c%3D0%26stretching%3D&User-Agent=Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.100 Safari/537.36&X-Requested-With=ShockwaveFlash/23.0.0.162
535
536                echo "$TMPURL$TOKEN1$TOKEN2" > $STREAMLIST
537
538                #echo "$URL$EXTRA"
539                echo "$STREAMLIST"
540        fi
541}
542
543broadcast()
544{
545        #http://assia.tv/live/gol-tv/?lang=ru
546        rm -f $TMP/cache.hoster.$hoster.* > /dev/null 2>&1
547        REFERER=`echo "$INPUT" | sed -e 's/=/%3D/g' -e 's/&/%26/g'`
548        EXTRA="|Referer=$REFERER&User-Agent=$USERAGENT"
549
550        STREAMLIST="$TMP/$TYPE.$hoster.$FILENAME.streamlist"
551        if [ -e "$STREAMLIST" ];then
552                rm -f $STREAMLIST > /dev/null 2>&1
553        fi
554
555        #$curlbin --referer "http://bro.adca.st/stream.php?id=17733&p=1&c=0&stretching=uniform&old=0" "http://bro.adca.st/token2.php"
556        $curlbin "http://bro.adca.st/token2.php" --referer "$INPUT" -o $TMP/cache.hoster.$hoster.1
557
558        #{"rumba":"ruYg748QTLGfAn2iZo3bpw&expires=1512880893"}
559        TOKEN=$(cat $TMP/cache.hoster.$hoster.1 | sed -nr 's/.*"rumba":"([^"]+)".*/\1/p' | tail -n1)
560
561        #$curlbin --referer "http://bonstreams.net" "http://bro.adca.st/stream.php?id=17733&p=1&c=0&stretching=uniform&old=0"
562        $curlbin "$INPUT" --referer "http://bonstreams.net" -o $TMP/cache.hoster.$hoster.2
563
564    #trap = "aHR0cDovL3RpZXIyLnBva2VyY29hbGl0aW9uLnB3L28xMC8xNzczMy5tM3U4P3NmPU5UazVOR0UzWXpSaE16bGpOUT09JnRva2VuPQ=
565        TRAP=$(cat $TMP/cache.hoster.$hoster.2 | sed -nr 's/.*trap = "([^"]+)".*/\1/p' | tail -n1)
566
567        echo "$TRAP" > $TMP/cache.hoster.$hoster.base64
568        TMPURL=$(base64 -d $TMP/cache.hoster.$hoster.base64)
569
570        # enable httponly cookie
571        sed 's/#HttpOnly_//g' -i /mnt/network/cookies
572
573        if [ ! -z "$TMPURL" ];then
574                #hls://http://tier2.pokercoalition.pw/o10/17733.m3u8?sf=NTk5NGE3YzRhMzljNQ==&token=jvVfe9gic8uQ3QqCXmZemw&expires=1512879969|Referer=http%3A%2F%2Fbro.adca.st%2Fstream.php%3Fid%3D17733%26p%3D1%26c%3D0%26stretching%3Duniform%26old%3D0&User-Agent=Mozilla%2F5.0%20(Windows%20NT%2010.0%3B%20Win64%3B%20x64)%20AppleWebKit%2F537.36%20(KHTML,%20like%20Gecko)%20Chrome%2F61.0.3163.100%20Safari%2F537.36
575                echo "$TMPURL$TOKEN$EXTRA" > $STREAMLIST
576                echo "$STREAMLIST"
577        fi
578}
579
580all()
581{
582        rm -f $TMP/cache.hoster.$hoster.* > /dev/null 2>&1
583        REFERER=`echo "$INPUT" | sed -e 's/=/%3D/g' -e 's/&/%26/g'`
584        EXTRA="|Referer=$REFERER&User-Agent=$USERAGENT"
585
586        STREAMLIST="$TMP/$TYPE.$hoster.$FILENAME.streamlist"
587        if [ -e "$STREAMLIST" ];then
588                rm -f $STREAMLIST > /dev/null 2>&1
589        fi
590
591        rm $TMP/cache.$PARSER.$INPUT.$FROM.1 > /dev/null 2>&1
592
593        $curlbin -o $TMP/cache.$PARSER.$INPUT.$FROM.1 ${1}
594        URL=`zcat $TMP/cache.$PARSER.$INPUT.$FROM.1 | grep iframe | sed -nr 's/.*src="([^"]+)".*/\1/p'`
595        if [ -z "$URL" ];then
596                URL=`cat $TMP/cache.$PARSER.$INPUT.$FROM.1 | grep iframe | sed -nr 's/.*src="([^"]+)".*/\1/p'`
597        fi
598        if [ -z "$URL" ];then
599                URL=`cat $TMP/cache.$PARSER.$INPUT.$FROM.1 | grep "text/javascript" | grep -v jQuery | sed -nr 's/.*src="([^"]+)".*/\1/p'`
600        fi
601
602#       echo $URL
603        $curlbin "$INPUT" -o $TMP/cache.hoster.$hoster.2
604}
605
606
607directstream()
608{
609        echo "$INPUT"
610#       rm -f /tmp/_last_hoster_* > /dev/null 2>&1
611        echo  "$INPUT" > /tmp/.last_hoster_$hoster.log
612}
613
614youtube_dl()
615{
616#       echo "$BIN $youtubebin $INPUT" > /tmp/.last_hoster_youtube_dl.log
617#       $BIN $CMD/lib/youtube_dl/__main__.py --no-check-certificate --cookies /mnt/network/cookies --user-agent "$USERAGENT" --format mp4 --restrict-filenames --ignore-errors -g "$INPUT" > /tmp/youtube_dl.streamlink.log 2>&1
618#       cat /tmp/youtube_dl.streamlink.log | tail -n1
619        mkdir $TMP > /dev/null 2>&1
620
621        echo "$BIN $youtubebin $INPUT --username $USER --password $PASS" > /tmp/.last_hoster_youtube_dl.log
622
623        $BIN $youtubebin "$INPUT" --username "$USER" --password "$PASS" > $TMP/$TYPE.$hoster.$FILENAME.streamlist
624#       cat $TMP/$TYPE.$hoster.$FILENAME.streamlist
625        echo $TMP/$TYPE.$hoster.$FILENAME.streamlist
626}
627
628youtube_dlbg()
629{
630#       echo "$BIN $youtubebinbg $DEST $INPUT" > /tmp/.last_hoster_youtube_dlbg.log
631#       URL=`$BIN $CMD/lib/youtube_dl/__main__.py --no-check-certificate --cookies /mnt/network/cookies --user-agent "$USERAGENT" --format mp4 --restrict-filenames --ignore-errors --output "$1" "$2"`
632#       echo "$URL" >> /tmp/.last_hoster_youtube_dlbg.log
633#       echo $URL
634        mkdir $TMP > /dev/null 2>&1
635
636        echo "$BIN $youtubebinbg $DEST $INPUT" > /tmp/.last_hoster_$TYPE.log
637        $BIN $youtubebinbg "$DEST" "$INPUT" >> /tmp/.last_hoster_$TYPE.log
638        cat /tmp/.last_hoster_$TYPE.log | tail -n1
639#       echo $TMP/$TYPE.$hoster.$FILENAME.streamlist
640}
641
642hlsdl()
643{
644        mkdir $TMP > /dev/null 2>&1
645
646        echo "$HLSBIN $hlsdlbg $DEST $INPUT" > /tmp/.last_hoster_$TYPE.log
647
648        REFERER=$(echo "$INPUT" | sed -nr 's/.*Referer=([^=]+)&.*/\1/p')
649        if [ -z "$REFERER" ];then
650                REFERER=$(echo "$INPUT" | sed -nr 's/.*Referer=([^=]+).*/\1/p')
651        fi
652
653        if [ ! -z "$REFERER" ];then
654                REFERER="Referer: $REFERER"
655        fi
656
657        TMPUSERAGENT=$(echo "$INPUT" | sed -nr 's/.*User-Agent=([^=]+)&.*/\1/p')
658        if [ -z "$TMPUSERAGENT" ];then
659                TMPUSERAGENT=$(echo "$INPUT" | sed -nr 's/.*User-Agent=([^=]+).*/\1/p')
660        fi
661        if [ ! -z "$TMPUSERAGENT" ];then
662                USERAGENT=$TMPUSERAGENT
663        fi
664
665        URL=$(echo "$INPUT" | tr '|' '\n' | head -n1)
666
667        echo $HLSBIN "$URL" -v -f -u "$USERAGENT" -h "$REFERER" -o "$DEST" >> /tmp/.last_hoster_$TYPE.log
668        $HLSBIN "$URL" -v -f -u "$USERAGENT" -h "$REFERER" -o "$DEST" >> /tmp/.last_hoster_$TYPE.log
669#       $HLSBIN "$URL" -v -u "$USERA" -h "$REFERER" -o "$DEST" >> /tmp/.last_hoster_$TYPE.log
670
671}
672
673
674if [ "$TYPE" == "get" ];then
675        echo  "$INPUT" > /tmp/.last_hoster_$TYPE_$hoster.log
676        case $hoster in
677                ecostream) ecostream $INPUT;;
678                giga) giga $INPUT;;
679                nosvideo) nosvideo $INPUT;;
680                allmyvideos) allmyvideos $INPUT;;
681                flashx) flashx $INPUT;;
682                openload|oload) openload $INPUT;;
683                briskfile) briskfile $INPUT;;
684                videoweed|bitvid) videoweed $INPUT;;
685                vodlocker) vodlocker $INPUT;;
686                youwatch|chouhaa|ay8ou8ohth) youwatch $INPUT;;
687                thevideo) thevideo $INPUT;;
688                movshare|wholecloud|vidgg) movshare $INPUT;;
689                vidto) vidto $INPUT;;
690                vidup) vidup $INPUT;;
691                vidzi) vidzi $INPUT;;
692                vivo) vivo $INPUT;;
693                goldesel|movie4k|movie4kto|kinox|kinos) cloudflare $INPUT;;
694                streamcloud1) streamcloud $INPUT;;     
695                nowvideo) nowvideo $INPUT;;
696                divxstage|cloudtime) divxstage $INPUT;;
697                novamov|auroravid) novamov $INPUT;;
698                xvidstage) xvidstage $INPUT;;
699                waaw|netu|hqq) waaw $INPUT;;
700                streamango|streamcherry) streamango $INPUT;;
701                vidlox) vidlox $INPUT;;
702                redirector|googlevideo|vodcloud|google|skyfall|s4) directstream "$INPUT";;
703                aliez) aliez $INPUT;;
704                sport7) sport7 $INPUT;;
705                sportstream365) sportstream365 $INPUT;;
706                sportsonline) sportsonline $INPUT;;
707                assia) assia $INPUT;;
708                cricfree) cricfree $INPUT;;
709                adca) broadcast $INPUT;;
710#               *) all $INPUT;;
711        esac
712fi
713
714if [ "$TYPE" == "youtube_dl" ];then
715        echo  "$INPUT" > /tmp/.last_hoster_$TYPE_$hoster.log
716        case $hoster in
717                *) youtube_dl $INPUT $USER $PASS;;
718        esac
719fi
720
721if [ "$TYPE" == "youtube_dlbg" ];then
722        echo  "$INPUT" > /tmp/.last_hoster_$TYPE_$hoster.log
723        case $hoster in
724                *) youtube_dlbg $DEST $INPUT;;
725        esac
726fi
727
728if [ "$TYPE" == "hlsdl" ];then
729        echo  "$INPUT" > /tmp/.last_hoster_$TYPE_$hoster.log
730        case $hoster in
731                *) hlsdl $INPUT;;
732        esac
733fi
Note: See TracBrowser for help on using the repository browser.