This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cls | |
$comics = @() | |
foreach($number in 1..25){ | |
$page = (new-object System.Net.Webclient).DownloadString("http://www.awx.co.za/e107_plugins/shop/show_cat.php?lettersort=B&catpath=64/Comics&page=$number") | |
$startIndex = $page.IndexOf("main_section") | |
$startIndex = $page.IndexOf("main_section",$startIndex + 20) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static List<string> GetColumnHeadings() | |
{ | |
List<string> ColumnHeadings = new List<string>(); | |
StreamReader rawFile = new StreamReader(@"filePath"); | |
string stringFile = rawFile.ReadToEnd(); | |
//// | |
//// Split the rows into an array | |
//// |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Net.Mail; | |
using System.Net; | |
namespace ConsoleApplication2 | |
{ | |
class Program |
NewerOlder