Fix for 4chan's https change
Brought to you by:
spoonly
[code]
foreach (string i in parsedWebPage)
{
try
{
string image = "http:" + i;
long k = 0;
string jj = Path.GetFileNameWithoutExtension(image);
if (Path.GetFileNameWithoutExtension(image).EndsWith("s"))
imageList.Add(image);
if (long.TryParse(Path.GetFileNameWithoutExtension(image), out k))
largeImageList.Add(image);
}
catch (Exception ee)
{
if (((Exception)ee).TargetSite.Name != "CheckInvalidPathChars")
MessageBox.Show(ee.Message);
}
}
[/code]