|
|
@ -41,7 +41,7 @@ public class Posting |
|
|
|
|
|
|
|
|
|
|
|
public Posting(string id) |
|
|
|
public Posting(string id) |
|
|
|
{ |
|
|
|
{ |
|
|
|
string fullUrl = $"https://statejobs.ny.gov/employees/vacancyDetailsView.cfm?id={id}"; |
|
|
|
string fullUrl = $"https://statejobs.ny.gov/employees/vacancyDetailsPrint.cfm?id={id}"; |
|
|
|
using (var client = new HttpClient()) |
|
|
|
using (var client = new HttpClient()) |
|
|
|
{ |
|
|
|
{ |
|
|
|
var response = client.GetAsync(fullUrl).Result; |
|
|
|
var response = client.GetAsync(fullUrl).Result; |
|
|
|