refactor: Use HostBuilder to launch spark w/ streams
This commit is contained in:
1 parent
e2b3e543ea
commit
4397df4628
28 files changed
+780
-314
No files matched your search
@@ -10,15 +10,15 @@ using HtmlAgilityPack;
|
||||
|
||||
namespace BCG {
|
||||
class Program {
|
||||
static void Main() {
|
||||
string url = "http://quotes.toscrape.com";
|
||||
List<string> quotes = ScrapeQuotes(url);
|
||||
// static void Main() {
|
||||
// string url = "http://quotes.toscrape.com";
|
||||
// List<string> quotes = ScrapeQuotes(url);
|
||||
|
||||
Console.WriteLine("Quotes from http://quotes.toscrape.com:");
|
||||
foreach (var quote in quotes) {
|
||||
Console.WriteLine(quote);
|
||||
}
|
||||
}
|
||||
// Console.WriteLine("Quotes from http://quotes.toscrape.com:");
|
||||
// foreach (var quote in quotes) {
|
||||
// Console.WriteLine(quote);
|
||||
// }
|
||||
// }
|
||||
|
||||
static List<string> ScrapeQuotes(string url) {
|
||||
List<string> quotes = new List<string>();
|
||||
|
||||
Reference in new issue
Block a user