简体   繁体   中英

Web crawling in F#

I'm working on web crawler in F# and have some question on the subject.

Do you need to create a script to crawl in F# or can you create a console application? I have seen some tutorials, and all of them uses #r (references), which is not possible in a console application? What are the benefits with using F# for web crawling maybe compared to C#? I hope someone can shed some light on these questions.

I wrote a web crawler a few years ago. I used F#. I wrote as a console application. the #r referenced are used in F# script which is cool but I typically deploy a binary.

I picked F# over C# because it's more productive to me (that is subjective of course) but also because I was developed a DSL in F# to describe what parts of a page interested me.

I used FSharp.Data to do HTML parsing: http://fsharp.github.io/FSharp.Data/library/HtmlParser.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM