読者です 読者をやめる 読者になる 読者になる

Journalのタイトルを一括ダウンロード

c#
namespace download
{
    class Program
    {
        static void Main(string[] args)
        {
            for (int volume = 1; volume < 6; volume++)
            {
                for (int issue = 1; issue < 3; issue++)
                {
                    for (int page = 1; page < 3; page++)
                    {
                        string url = "http://link.springer.com/journal/13730/" + volume.ToString() + "/" + issue.ToString() + "/page/" + page.ToString();
                        string output = volume.ToString() + "_" + issue.ToString() + "_" + page.ToString() + ".html";
                        System.Net.WebClient wc = new System.Net.WebClient();
                        wc.DownloadFile(url, output);
                        wc.Dispose();
                    }
                }
            }
        }
    }
}