-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProgram.cs
More file actions
24 lines (17 loc) · 831 Bytes
/
Program.cs
File metadata and controls
24 lines (17 loc) · 831 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using EasyAutomationFramework;
using EasyAutomationFramework.Model;
using WebScrap.Driver;
var web = new GameList1();
var web1 = new GameList2();
var site1 = web.GetData("https://notadogame.com/list/featured-games");
var site2 = web1.GetData("https://www.metacritic.com/browse/games/score/metascore/all/pc/filtered?view=detailed");
var paramss = new ParamsDataTable("Jogos em alta", "C:\\Users\\Victor\\Desktop\\GamesList", new List<DataTables>() //(Nome do arquivo, caminho para o save)
{
new DataTables("jogos", site1),
});
var paramss2 = new ParamsDataTable("Jogos PC em Alta", "C:\\Users\\Victor\\Desktop\\GamesList", new List<DataTables>() //(Nome do arquivo, caminho para o save)
{
new DataTables("jogos", site2),
});
Base.GenerateExcel (paramss); // Cria um doc xlsx
Base.GenerateExcel (paramss2);