mirror of
https://github.com/horacio9a/cam4-anonymous.git
synced 2025-03-01 01:45:14 +08:00
v.1.0.5 cam4-anonymous script with rtmpdump window
This commit is contained in:
parent
e3a5d71cd9
commit
cd568d2bc9
1 changed files with 4 additions and 3 deletions
7
c4w.py
7
c4w.py
|
@ -1,7 +1,8 @@
|
||||||
# Cam4 Anonymous RTMP Recorder v.1.0.4 by horacio9a for Python 2.7.13
|
# Cam4 Anonymous RTMP Recorder v.1.0.5 by horacio9a for Python 2.7.13
|
||||||
|
|
||||||
import sys, os, urllib, urllib3, ssl, re, time, datetime, command
|
import sys, os, urllib, urllib3, ssl, re, time, datetime, command
|
||||||
urllib3.disable_warnings()
|
urllib3.disable_warnings()
|
||||||
|
from urllib3 import PoolManager
|
||||||
reload(sys)
|
reload(sys)
|
||||||
sys.setdefaultencoding('utf-8')
|
sys.setdefaultencoding('utf-8')
|
||||||
from colorama import init, Fore, Back, Style
|
from colorama import init, Fore, Back, Style
|
||||||
|
@ -33,8 +34,8 @@ print (colored(' => Selected C4 Model => {} <=', 'yellow', 'on_blue')).format(mo
|
||||||
print
|
print
|
||||||
|
|
||||||
url ='https://www.cam4.com/{}'.format(model)
|
url ='https://www.cam4.com/{}'.format(model)
|
||||||
http_pool = urllib3.connection_from_url(url)
|
manager = PoolManager(10)
|
||||||
r = http_pool.urlopen('GET',url)
|
r = manager.request('GET', url)
|
||||||
enc = (r.data)
|
enc = (r.data)
|
||||||
dec=urllib.unquote(enc).decode()
|
dec=urllib.unquote(enc).decode()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue