Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

login to yahoogroups

Help
2008-10-26
2013-04-26
  • Ramesh Java
    Ramesh Java
    2008-10-26

      I want to do automation of downloading files from yahoo groups , i wriittena code using http ,

    login to yahoo srvices is ok , but when i try to retrieve the rquired file , gettin a web page containing msg of "your browser doest accept cookies"

       WebConversation wc = new WebConversation();
       WebResponse resp =wc.getResponse("https://login.yahoo.com/config/login?");
       WebForm loginForm = resp.getFormWithName("login_form");
          loginForm.setParameter("login", uid);
          loginForm.setParameter("passwd", pwd);
          resp = loginForm.submit();
             String fileName = "http://in.groups.yahoo.com/group/&&&&/files/00-STOCKS%20DATA%20FILES/10%20-%20October%202008/SEOD20081021.zip";

          WebResponse wr = wc.getResponse(fileName);