1. 입센션 표기

This commit is contained in:
이형구 2021-08-07 22:50:15 +09:00
parent 25ec2df598
commit d0d1992a88

View File

@ -11,6 +11,8 @@ namespace DCinside_Cleaner
class Program class Program
{ {
static void Main(string[] args) static void Main(string[] args)
{
try
{ {
Console.Write("ID : "); Console.Write("ID : ");
string _id = Console.ReadLine(); string _id = Console.ReadLine();
@ -56,7 +58,8 @@ namespace DCinside_Cleaner
if (_sel == "1") if (_sel == "1")
{ {
_ChromeDriver.Navigate().GoToUrl(@"https://gallog.dcinside.com/" + _id + "/posting?p=1"); _ChromeDriver.Navigate().GoToUrl(@"https://gallog.dcinside.com/" + _id + "/posting?p=1");
} else }
else
{ {
_ChromeDriver.Navigate().GoToUrl(@"https://gallog.dcinside.com/" + _id + "/comment?p=1"); _ChromeDriver.Navigate().GoToUrl(@"https://gallog.dcinside.com/" + _id + "/comment?p=1");
} }
@ -99,5 +102,10 @@ namespace DCinside_Cleaner
return; return;
} }
catch (Exception ex)
{
Console.WriteLine("ERROR : " + ex.Message);
}
}
} }
} }