diff options
author | Aryadev Chavali <aryadevchavali1@gmail.com> | 2019-02-10 17:36:57 +0000 |
---|---|---|
committer | Aryadev Chavali <aryadevchavali1@gmail.com> | 2019-02-10 17:36:57 +0000 |
commit | 915ab9c8765fa6478a54be155460a134ccd5f275 (patch) | |
tree | 807c6a49a9a5f5d4071153aff31182ad371457ca /Main | |
parent | 7e517f6cc063ae8e25e9025cdbd75984f17bcbd7 (diff) | |
download | newsaggregator-915ab9c8765fa6478a54be155460a134ccd5f275.tar.gz newsaggregator-915ab9c8765fa6478a54be155460a134ccd5f275.tar.bz2 newsaggregator-915ab9c8765fa6478a54be155460a134ccd5f275.zip |
Added two other configs for sky and abc
Diffstat (limited to 'Main')
-rw-r--r-- | Main/Program.cs | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/Main/Program.cs b/Main/Program.cs index cb5bbff..aa641c9 100644 --- a/Main/Program.cs +++ b/Main/Program.cs @@ -11,13 +11,29 @@ namespace Main { internal static class Program {
private static async Task Main(string[] args) {
List<Config> configs = new List<Config>() {
- new Config() {
+ new Config() { //BBC
Source = "BBC",
Title = 0,
Description = 1,
ArticleLink = 2,
ImageLink = 5,
PublishDate = 4
+ },
+ new Config(){ //Sky
+ Source = "Sky",
+ Title = 0,
+ Description = 2,
+ ArticleLink = 1,
+ ImageLink = 7,
+ PublishDate = 3
+ },
+ new Config(){ //ABC
+ Source = "ABC",
+ Title = 7,
+ Description = 11,
+ ArticleLink = 8,
+ ImageLink = 0,
+ PublishDate = 10
}
};
string[] xmls = new[] {
|