示例#1
0
 def __init__(self):
     DWM.__init__(self, proxy="auto")
     #ip = "220.181.111.%d" % random.randint(1, 254)
     #self.extra_headers['X-Forwarded-For'] = ip,
     self.extra_headers['Referer'] = 'http://static.youku.com/'
     # this is key!
     self.extra_headers['Cookie'] = '__ysuid={}'.format(time.time())
示例#2
0
文件: iqiyi.py 项目: pastebt/dwm
 def __init__(self):
     #DWM.__init__(self)
     #DWM.__init__(self, proxy='auto')
     #DWM.__init__(self, proxy={'http': 'https://secure.uku.im:993'})
     DWM.__init__(self, proxy={'http': 'http://117.177.243.6:8080'})
     #ip = "220.181.111.%d" % random.randint(1, 254)
     ip = "117.177.243.6"
     self.extra_headers['X-Forwarded-For'] = ip
     self.extra_headers['Client-IP'] = ip
示例#3
0
文件: iqiyi.py 项目: pastebt/dwm
 def __init__(self):
     #DWM.__init__(self)
     #DWM.__init__(self, proxy='auto')
     #DWM.__init__(self, proxy={'http': 'https://secure.uku.im:993'})
     DWM.__init__(self, proxy={'http': 'http://117.177.243.6:8080'})
     #ip = "220.181.111.%d" % random.randint(1, 254)
     ip = "117.177.243.6"
     self.extra_headers['X-Forwarded-For'] = ip
     self.extra_headers['Client-IP'] = ip
示例#4
0
文件: openload.py 项目: pastebt/dwm
 def __init__(self):
     DWM.__init__(self)
     self.extra_headers[
         'Referer'] = 'https://vjs.zencdn.net/swf/5.1.0/video-js.swf'
示例#5
0
 def __init__(self):
     # http://www.dianyingbar.com/10085.html
     DWM.__init__(self)
     self.extra_headers['Upgrade-Insecure-Requests'] = '1'
     self.extra_headers['Referer'] = "http://bodekuai.duapp.com/ckplayer/ckplayer.swf"
示例#6
0
文件: openload.py 项目: pastebt/dwm
 def __init__(self):
     DWM.__init__(self)
     self.extra_headers['Referer'] = 'https://vjs.zencdn.net/swf/5.1.0/video-js.swf'
示例#7
0
文件: qq.py 项目: pastebt/dwm
 def __init__(self):
     DWM.__init__(self, 'auto')
     self.extra_headers['Referer'] = SWF_REFERER
示例#8
0
文件: qq.py 项目: pastebt/dwm
 def __init__(self):
     DWM.__init__(self, 'auto')
     self.extra_headers['Referer'] = SWF_REFERER
示例#9
0
文件: sohu.py 项目: pastebt/dwm
 def __init__(self):
     DWM.__init__(self)  # , proxy='auto')
     ip = "220.181.111.%d" % randint(1, 254)
     self.extra_headers['X-Forwarded-For'] = ip
     self.extra_headers['Client-IP'] = ip
示例#10
0
 def __init__(self):
     DWM.__init__(self)  # , proxy='auto')
     ip = "220.181.111.%d" % randint(1, 254)
     self.extra_headers['X-Forwarded-For'] = ip
     self.extra_headers['Client-IP'] = ip
示例#11
0
 def __init__(self):
     # http://www.dianyingbar.com/10085.html
     DWM.__init__(self)
     self.extra_headers['Upgrade-Insecure-Requests'] = '1'
     self.extra_headers[
         'Referer'] = "http://bodekuai.duapp.com/ckplayer/ckplayer.swf"
示例#12
0
 def __init__(self):
     DWM.__init__(self)
     ip = "220.181.111.%d" % random.randint(1, 254)
     self.extra_headers = {'X-Forwarded-For': ip, 'Client-IP': ip}