Wednesday 22 April 2015

Youtube Downloader&Scraper (Python Script)

Hi Guys,

This script scrapes Youtube video's to get direct download links, a third party website is used to scrape the Youtube video's and then the script scrapes the third party website.

The script can be used to download Youtube video's or just scrape the direct download links and save them to a file, useful for uses that want to use a download manager instead of the script to download the video's.

The script can download single video's or multiple from a file.

How to download:


Single link Download

Replace the "yt" variable in the script with your Youtube link.

yt = "https://www.youtube.com/watch?v=xxxxxxxxxxx"

(OR)

Multi link Download

Load multiple Youtube links from a file by drag and dropping it on to the script.
NOTE:Must be a ".txt" file

Settings:

To change settings edit the "settings" variable in the script.

settings = {"quality" : "5",
   "download" : True,
   "save" : True,
   "debug" : True,
   "debug2" : False}

Quality: 0)  HD720
              1)  Medium webm
              2)  Medium mp4
              3)  Small x-flv
              4)  Small 3gpp
              5)  Smallest 3gpp

Download: Download video after scape if "True"

Save: Save scraped links to file if "True"

Debug: Enable debug output.

Debug2: Extra redundant debug output.

Download:

Mediafire

Requirements:

-Python 2.7

Note:

Youtube direct video links are most likely ip specific meaning you won't be able the directly share the links with others, only you will be able the use the scraped link to download the video. The scraped video links do have a ip variable in the url, changing the value might allow you to directly share the links but I have not tried it.

Bugs:

Videos without the right quality's available might cause the script to crash, usually very small video's don't have them.

Feel free to use the comments below to report any bug's, ask to modified the script or just leave a comment.

Tuesday 21 April 2015

(old)Pastebin Mass Poster

Free Pastebin Mass Poster

[EDIT] V1.1 release
------------------------------------------------------
A couple things have been added with the V1.1 release, they are:
Multiple titles
You can have your post posted under multiple titles. You should list them one under another in the post.txt file. Like this:
MyPostTitle
MyPostTitle2
MyPostTitle3

Multiple posts
You can now list multiple posts. List them one under another and seperate them with ### inside the post.txt file. Like so:
FirstPost
###
SecondPost
###
ThirdPost


Captcha support
A captcha enterbox now pop's up when there is a captcha to enter. You no longer have to manually go to the website to enter captcha's.

Syntax Highlighting, Paste Expiration, Paste Exposure
You can now specify the Syntax Highlighting, Paste Expiration, Paste Exposure in the conf.ini file. See Read me for all options.

Scrambler
The scrambler option replaces random characters in your post with special characters. It is made to avoid getting caught in the spam filters and having your post listed as unlisted. Activate scrambler by setting it to "True" in the conf.ini file.

Ghosttext
Add's a line from the ghosttext.txt file to the bottom of your post to make your posts longer and more unique to avoid getting your posts listed as unlisted. Activate this feature by setting it to "True" in the conf.ini file.

Captcha alert
Plays sound when captcha need to be entered. Activate this feature by setting captchaalert to "True" in the conf.ini file.
------------------------------------------------------


Getting started

Open "conf.ini" to setup the program:

[LOGIN]
login = False //Set to "True" if you want to post with a account or leave it "False" to post anonymously.
userlogin = myusername //replace "myusername" with your pastebin user name. Leave black and you will be prompted for it.
userpass = mypassword  //replace "mypassword" with your pastebin password. Leave black and you will be prompted for it.

[SETTINGS]
interval = 1 //Time between posts in minutes. Set to 0 to post without a delay.
posts = 2    //Number of times it will post.
syntaxhighlighting = 1  //1:None, 14:C#, 25:HTML,  28:JavaScript //See Readme for more.
expire = N //N:Never, 1H: 1Hour, 1M: 1 Month //See Readme for more.
exposure = 0 //0:Public, 1:Unlisted, 2:Private
scrambler = False //Changes random characters to special characters.
ghosttext = False //Add's text to the bottom of posts
captchaalert = False //Play sound when captcha need to be entered.

[PROXY]
enabled = False //Set to "True" to enable proxies.
path = proxies.txt //Path to proxylist


Next open "post.txt":

###TITLE###
Pastebin Mass Poster
###TEXT###
http://cobaltscraper.blogspot.com/2014/07/pastebin-mass-poster.html

Write your title under "###TITLE###" and you post under ###TEXT###.
Do not remove ###TITLE### and ###TEXT###.

If you want to use proxies, Copy your proxy list to proxies.txt.
The proxy support is a little buggy, it should work with a set of working http proxies.

After that run "program.exe" and start posting.
The program will post and then save the pastebin post link to "urls.txt".

Downloads


Download V1.1
VirusTotal 0 / 46

Old Releases
Download V1.0

(old)Free python class for fake info generation!

Hi Guys,

I created a python class that provides new unique fake data at your request. It provides a unique fake firstname, surname, number, email, username, password, maiden name, birthday, mastercard with expiry date, occupation, company and website.
Enjoy.

Commands:

populate()
Collects and stores the data. The username and surname is collected from namelist.txt and the rest is collected from fakenamegenerator.com.

new()
Request a new set of data. The will provide a new firstname, surname, birthday, etc.


firstname()
Returns firstname as string

surname()
Returns surname as string

number()
Returns phone number as string

email()
Returns email address as string

username()
Returns username as string

password()
Returns password as string

maidenname()
Returns maiden name as string

birthday()
Returns birthday as string
month()
Returns month of birthday as string
day()
Returns day of birthday as string
year()
Returns year of birthday as string

mastercard()
Returns mastercard as string
expire()
Returns expiry date of  mastercard as string

occupation()
Returns occupation as string

company()
Returns company as string

website()
Returns website as string

Tutorial

Extract fackinfogen.py to your project folder.
from fakeinfogen import infogen
info = infogen() #Create infogen object
info.populate() #Grabs all data and creats first data set.
print 'Hi, my name is ' + info.firstname() + ' ' + info.surname() + ', i was born in ' + info.year()
info.new() #Get new data set.
print 'Hi, my name is ' + info.firstname() + ' ' + info.surname() + ', i was born in ' + info.year()

result:

Hi, my name is Ronald Hice, i was born in 1966.
Hi, my name is Nathan Gomez, i was born in 1960.

Download

Note: The class needs Python 2.7 and need the BeautifulSoup library to run.