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!


Question: How do I get the text, not the name of the comboboxitem, from a combobox with C# in Windows Runtime?
Answer: You can also access the selected item's value by doing this

StrExample = cmbTypeInstallation.SelectionBoxItem.ToString()


The SelectionBoxItem gives you the value of the selected item when the combobox is closed

I think this would work even without having the X: in your XAML