dags att checka in
This commit is contained in:
24
WebClientScraper/Program.cs
Normal file
24
WebClientScraper/Program.cs
Normal file
@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using System.Net;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace WebClientScraper
|
||||
{
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
using var client = new WebClient();
|
||||
|
||||
client.DownloadStringCompleted += (sender, e) =>
|
||||
{
|
||||
Console.WriteLine(e.Result);
|
||||
};
|
||||
|
||||
string url = "https://finansportalen.millistream.com/shares.php";
|
||||
client.DownloadStringAsync(new Uri(url));
|
||||
|
||||
Console.ReadLine();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user