Issue in Webscrapping in C# : Downloading and parsing zipped text files

Posted by user64094 on Programmers See other posts from Programmers or by user64094
Published on 2012-09-12T07:42:04Z Indexed on 2012/09/12 9:48 UTC
Read the original article Hit count: 231

Filed under:
|

I am writing an webscrapper, to do the download content from a website. Traversing to the website/URL, triggers the creation of a temporary URL. This new URL has a zipped text file. This zipped file is to be downloaded and parsed. I have written a scrapper in C# using WebClient and its function - DownloadFileAsync(). The zipped file is read from the designated location on a trapped DownloadFileCompleted event. My issue : The Windows 'Open/Save dialog is triggered". This requires user input and the automation is disrupted.

Can you suggest a way to bypass the issue ? I am cool with rewriting the code using any alternate libraries. :) Thanks for reading,

© Programmers or respective owner

Related posts about c#

Related posts about web-scraping