public SongItemDownloader(MusicProviders musicProviders, string target, MergedSong song, string rate) { this.musicProviders = musicProviders; this.target = target; this.song = song; this.rate = rate; }
public IActionResult Search(string keyword) { MusicProviders provider = MusicProviders.Instance; List <MergedSong> list = provider.SearchSongs(keyword, 1, 20); foreach (var item in list) { foreach (var item2 in item.items) { item2.url = provider.getDownloadUrl(item2); } } return(View(list)); }
public SongDownloader(MusicProviders musicProviders, string target) { this.musicProviders = musicProviders; this.target = target; }