Jump to content
Xtreme .Net Talk

Can the F# HtmlProvider access password protected pages?


Recommended Posts

Guest Mr Yossu
Posted

I know how to grab data from a web page in F#...

 

[color=#101094][font=inherit]let[/font][/color][color=#303336][font=inherit] url = @[/font][/color][color=#7d2727][font=inherit]"https://en.wikipedia.org/wiki/Doctor_Who"[/font][/color][color=#303336][font=inherit]
[/font][/color][color=#101094][font=inherit]type[/font][/color][color=#303336][font=inherit] DoctorWhoData = HtmlProvider<url>
[/font][/color][color=#101094][font=inherit]let[/font][/color][color=#303336][font=inherit] data = DoctorWhoData.GetSample()[/font][/color]

 

...which is really neat, but I want to be able to do this for a password protected page. I can't seem to find any documentation on how to do this.

 

Anyone any suggestions? Thanks

 

Continue reading...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...