First, no need to ever load directly from CI - you can always use EE. (So, $this-&gt;EE-&gt;load-&gt;helper('file').)

Same with your validation class - I'd extend Form_validation, not CI_Form_validation.

(Generally, EE should serve as your path to anything CI-related to avoid any conflicts.)

You'll need to load your custom validation library, and call it by its unique name as well. You may also have to load the form validation class before loading your custom library.

$this-&gt;EE-&gt;load-&gt;library('form_validation');
$this-&gt;EE-&gt;load-&gt;library('my_form_validation');
// $this-&gt;EE-&gt;my_form_validation-&gt;run();


custom form validation class for a module I am building
I'm doing a project for my school in which I would like to compare scam mails. I found this website: http://www.419scam.org/emails/
Now what I would like to do is to save every scam in apart documents then later on I can analyse them.
Here is my code so far:

import BeautifulSoup, urllib2

address='http://www.419scam.org/emails/'
html = urllib2.urlopen(address).read()
f = open('test.txt', 'wb')
f.write(html)
f.close()


This saves me the whole html file in a text format, now I would like to strip the file and save the content of the html links to the scams:

&lt;a href="2011-12/01/index.htm"&gt;01&lt;/a&gt; 
&lt;a href="2011-12/02/index.htm"&gt;02&lt;/a&gt; 
&lt;a href="2011-12/03/index.htm"&gt;03&lt;/a&gt;


etc.

If i get that, I would still need to go a step further and open save another href. Any idea how do I do it in one python code?

Thank you!
