From 87dfb0fadde19923298fa496c30417549b8cb5af Mon Sep 17 00:00:00 2001 From: Kazuki Przyborowski Date: Mon, 7 Oct 2013 03:28:37 -0500 Subject: [PATCH] Yet another small update. --- MiniScripts/beeg-dl.py | 6 +++--- MiniScripts/get_ylp.py | 6 +++--- MiniScripts/motherless-dl.py | 6 +++--- MiniScripts/videarn-dl.py | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/MiniScripts/beeg-dl.py b/MiniScripts/beeg-dl.py index 0c890c8..f0a2811 100755 --- a/MiniScripts/beeg-dl.py +++ b/MiniScripts/beeg-dl.py @@ -13,10 +13,10 @@ Copyright 2013 Game Maker 2k - http://intdb.sourceforge.net/ Copyright 2013 Kazuki Przyborowski - https://github.com/KazukiPrzyborowski - $FileInfo: beeg-dl.py - Last Update: 05/11/2013 Ver. 1.0.5 RC 5 - Author: cooldude2k $ + $FileInfo: beeg-dl.py - Last Update: 10/07/2013 Ver. 1.0.5 RC 6 - Author: cooldude2k $ ''' -import re, os, sys, httplib, urllib, urllib2, cookielib, StringIO, gzip, time, datetime, argparse; +import re, os, sys, urllib, urllib2, cookielib, StringIO, gzip, time, datetime, argparse, urlparse; parser = argparse.ArgumentParser(); parser.add_argument("url", help="beeg url"); @@ -26,7 +26,7 @@ mregex_text = re.escape("http://beeg.com/")+"([a-zA-Z0-9\/]+)"; if(re.findall(mregex_text, mlessvid)): mlessvid = re.findall(mregex_text, mlessvid); mlessvid = mlessvid[0]; -fakeua = "Mozilla/5.0 (Windows NT 5.1; rv:20.0) Gecko/20100101 Firefox/20.0"; +fakeua = "Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Firefox/24.0""; geturls_cj = cookielib.CookieJar(); geturls_opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(geturls_cj)); geturls_opener.addheaders = [("Referer", "http://beeg.com/section/long-videos/"), ("User-Agent", fakeua), ("Accept-Encoding", "gzip, deflate"), ("Accept-Language", "en-US,en-CA,en-GB,en-UK,en-AU,en-NZ,en-ZA,en;q=0.5"), ("Accept-Charset", "ISO-8859-1,ISO-8859-15,utf-8;q=0.7,*;q=0.7"), ("Accept", "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"), ("Connection", "close")]; diff --git a/MiniScripts/get_ylp.py b/MiniScripts/get_ylp.py index 0d8a453..a4dcb0e 100755 --- a/MiniScripts/get_ylp.py +++ b/MiniScripts/get_ylp.py @@ -13,12 +13,12 @@ Copyright 2013 Game Maker 2k - http://intdb.sourceforge.net/ Copyright 2013 Kazuki Przyborowski - https://github.com/KazukiPrzyborowski - $FileInfo: get_ylp.py - Last Update: 05/11/2013 Ver. 1.0.5 RC 5 - Author: cooldude2k $ + $FileInfo: get_ylp.py - Last Update: 10/07/2013 Ver. 1.0.5 RC 6 - Author: cooldude2k $ ''' -import re, os, sys, httplib, urllib, urllib2, cookielib, StringIO, gzip, time, datetime; +import re, os, sys, urllib, urllib2, cookielib, StringIO, gzip, time, datetime, argparse, urlparse; -fakeua = "Mozilla/5.0 (Windows NT 5.1; rv:20.0) Gecko/20100101 Firefox/20.0"; +fakeua = "Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Firefox/24.0""; geturls_cj = cookielib.CookieJar(); geturls_opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(geturls_cj)); geturls_opener.addheaders = [("Referer", "http://www.google.com/search?q=younglegalporn"), ("User-Agent", fakeua), ("Accept-Encoding", "gzip, deflate"), ("Accept-Language", "en-US,en-CA,en-GB,en-UK,en-AU,en-NZ,en-ZA,en;q=0.5"), ("Accept-Charset", "ISO-8859-1,ISO-8859-15,utf-8;q=0.7,*;q=0.7"), ("Accept", "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"), ("Connection", "close")]; diff --git a/MiniScripts/motherless-dl.py b/MiniScripts/motherless-dl.py index 533d749..d11ddf0 100755 --- a/MiniScripts/motherless-dl.py +++ b/MiniScripts/motherless-dl.py @@ -13,12 +13,12 @@ Copyright 2013 Game Maker 2k - http://intdb.sourceforge.net/ Copyright 2013 Kazuki Przyborowski - https://github.com/KazukiPrzyborowski - $FileInfo: motherless-dl.py - Last Update: 10/06/2013 Ver. 1.4.5 RC 1 - Author: cooldude2k $ + $FileInfo: motherless-dl.py - Last Update: 10/07/2013 Ver. 1.4.5 RC 2 - Author: cooldude2k $ ''' -import re, os, sys, httplib, urllib, urllib2, cookielib, StringIO, gzip, time, datetime, argparse, urlparse; +import re, os, sys, urllib, urllib2, cookielib, StringIO, gzip, time, datetime, argparse, urlparse; -__version_info__ = (1, 4, 5, "RC 1"); +__version_info__ = (1, 4, 5, "RC 2"); if(__version_info__[3]!=None): __version__ = str(__version_info__[0])+"."+str(__version_info__[1])+"."+str(__version_info__[2])+" "+str(__version_info__[3]); if(__version_info__[3]==None): diff --git a/MiniScripts/videarn-dl.py b/MiniScripts/videarn-dl.py index ec72e46..f3ca308 100755 --- a/MiniScripts/videarn-dl.py +++ b/MiniScripts/videarn-dl.py @@ -13,10 +13,10 @@ Copyright 2013 Game Maker 2k - http://intdb.sourceforge.net/ Copyright 2013 Kazuki Przyborowski - https://github.com/KazukiPrzyborowski - $FileInfo: videarn-dl.py - Last Update: 05/11/2013 Ver. 1.0.5 RC 5 - Author: cooldude2k $ + $FileInfo: videarn-dl.py - Last Update: 10/07/2013 Ver. 1.0.5 RC 6 - Author: cooldude2k $ ''' -import re, os, sys, httplib, urllib, urllib2, cookielib, StringIO, gzip, time, datetime, argparse; +import re, os, sys, urllib, urllib2, cookielib, StringIO, gzip, time, datetime, argparse, urlparse; parser = argparse.ArgumentParser(); parser.add_argument("url", help="videarn url"); @@ -26,7 +26,7 @@ mregex_text = re.escape("http://videarn.com/video.php?id=")+"([a-zA-Z0-9\/]+)"; if(re.findall(mregex_text, mlessvid)): mlessvid = re.findall(mregex_text, mlessvid); mlessvid = mlessvid[0]; -fakeua = "Mozilla/5.0 (Windows NT 5.1; rv:20.0) Gecko/20100101 Firefox/20.0"; +fakeua = "Mozilla/5.0 (Windows NT 6.1; rv:24.0) Gecko/20100101 Firefox/24.0""; geturls_cj = cookielib.CookieJar(); geturls_opener = urllib2.build_opener(urllib2.HTTPCookieProcessor(geturls_cj)); geturls_opener.addheaders = [("Referer", "http://videarn.com/browse.php"), ("User-Agent", fakeua), ("Accept-Encoding", "gzip, deflate"), ("Accept-Language", "en-US,en-CA,en-GB,en-UK,en-AU,en-NZ,en-ZA,en;q=0.5"), ("Accept-Charset", "ISO-8859-1,ISO-8859-15,utf-8;q=0.7,*;q=0.7"), ("Accept", "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"), ("Connection", "close")]; -- 2.11.4.GIT