Tag Archives: frank kern

I got an email the other day from Frank Kern who was pimping another make money online product from his cousin Trey. The Number Effect is a DVD containing the results of an experiment where he created an affiliate link to every one of the 12,000 products for sale on ClickBank and sent paid (PPV) traffic to all of those links and found which ones were profitable. He found 54 niches with profitable campaigns out of 12,000.

Trey went on to talk about the software that he had written for this experiment. It apparently took a bit of work to get going from his outsourced programmer.

I thought it would be fun to try and implement the same script myself. It took about 1 hour to program the whole thing.

So if you want to create your own clickbank affiliate link for all of the clickbank products for sale here’s a script that will do it. Keep in mind that I never did any work to make this thing fast. and it takes about 8 hours to scrape all 13,000 products, create the affiliate links, and resolve the urls for where it goes. Sure I could make it faster, but I’m lazy.

Here’s the python script to do it:

#!/usr/bin/env python
# encoding: utf-8
Created by Matt Warren on 2010-09-07.
Copyright (c) 2010 HalOtis.com. All rights reserved.
CLICKBANK_URL = 'http://www.clickbank.com'
AFF_LINK_FORM = CLICKBANK_URL+'/info/jmap.htm'
AFFILIATE = 'mfwarren'
import urllib, urllib2
from BeautifulSoup import BeautifulSoup
import re
product_links = []
product_codes = []
pages_to_scrape = []
def get_category_urls():
	request = urllib2.Request(MARKETPLACE_URL, None)
	urlfile = urllib2.urlopen(request)
	page = urlfile.read()
	soup = BeautifulSoup(page)
	parentCatLinks = [x['href'] for x in soup.findAll('a', {'class':'parentCatLink'})]
	return parentCatLinks
def get_products():
	fout = open('ClickBankLinks.csv', 'w')
	while len(pages_to_scrape) > 0:
		url = pages_to_scrape.pop()
		request = urllib2.Request(url, None)
		urlfile = urllib2.urlopen(request)
		page = urlfile.read()
		soup = BeautifulSoup(page)
		results = [x.find('a') for x in soup.findAll('tr', {'class':'result'})]
		nextLink = soup.find('a', title='Next page')
		if nextLink:
		for product in results:
				product_code = str(product).split('.')[1]
				m = re.search('^< (.*)>(.*)< ', str(product))
				title = m.group(2)
				my_link = get_hoplink(product_code)
				request = urllib2.Request(my_link)
				urlfile = urllib2.urlopen(request)
				display_url = urlfile.url
				#page = urlfile.read()  #continue here if you want to scrape keywords etc from landing page
				print my_link, display_url
				product_links.append({'code':product_code, 'aff_link':my_link, 'dest_url':display_url})
				fout.write(product_code + ', ' + my_link + ', ' + display_url + '\n')
				continue  # handle cases where destination url is offline
def get_hoplink(vendor):
	request = urllib2.Request(AFF_LINK_FORM + '?affiliate=' + AFFILIATE + '&promocode=&submit=Create&vendor='+vendor+'&results=', None)
	urlfile = urllib2.urlopen(request)
	page = urlfile.read()
	soup = BeautifulSoup(page)
	link = soup.findAll('input', {'class':'special'})[0]['value']
	return link
if __name__=='__main__':
	urls = get_category_ids()
	for url in urls:

My corner of the internet is buzzing these days about the importance of learning how to be a good copywriter. In fact there are a number of products about copywriting that are in the launch phase or still in development by various marketers.

The importance of having good copy can not be underestimated. Well written copy will put your sales through the roof!

John Carlton, one of the worlds best copywriters, says that if he lost all his money, and found himself penniless on the street then he could get it all back with a crayon and a scrap of paper. That’s the power of good copy.

Frank Kern said “Copywriting is the currency of the internet”

Copywriting is the tool through which you improve your conversion, attract joint venture partners, and develop long standing relationships with your customers.

The big thing going on right now is what Clayton Makepeace, and Anthony (Tony) Flores are doing. These guys are coming from a traditional copywriting background. Which means they have lots of great new ideas that haven’t really been seen online yet. And they’re doing a launch.

Launches are great. And these guys are experts, so they know how to attract attention… Give away lots of great stuff for free!

They’ve already released some stuff that’s out of this world.

Electrify Your Ads – is a 71 page report about how and why you should use colloquial phrases in your copy. There are 50 pages of words and phrases that you can use to dramatically improve your writing. I just finished reading it, and it’s something that I’m going to keep close by from now on. You’ll also be able to get The Great Copywriting Conspiracy which explains in great depth exactly how powerful good copy can be to your bottom line.

You may also want to check out Gary Bencivenga, and Drayton Bird for some great copywriting information and tips.

Did I miss your favorite copywriter? Let me know in the comments.

Here it is.

I’ve put together an email mini-course that steps through the process of making money online with internet marketing.

It contains information about doing market research, testing, creating you own product, list building, how to become and expert in one afternoon, autoresponders, copywriting, and many more tips and techniques I’ve learned from some of the best internet marketing gurus like Ed Dale, Frank Kern and Jeff Walker.

You know, we’re probably a lot alike.  I want to live life on my terms, not be chained to a desk working to make someone else rich.  I want to be able to decide when and where I take my vacations