Esempio n. 1
0
		protected override void OnRssCompleted (Rss rss)
		{
			OnSearchCompleted(new SearchEventArgs(rss.Channel.Items
				.Skip(1) //Skip 1, the first is some ad-crap
				.Select(i => new TorrentUrl 
				{ 
					Url = i.Enclosure.Url,
					InfoUrl = i.Link,
					Name = i.Title, 
					Size = GetSize(i),
					Category = GetCategory(i),
				})
				.ToArray()));
		}
Esempio n. 2
0
 protected abstract void OnRssCompleted(Rss rss);
Esempio n. 3
0
 protected override void OnRssCompleted(Rss rss)
 {
     OnSearchCompleted(new SearchEventArgs(rss.Channel.Items.Select(i => new TorrentUrl {
         Url = i.Link, Name = i.Title
     }).ToArray()));
 }