Ivan,

What sort of contents do you need to get?  For simple things Requests.jl 
may work, but for more complex scrapes I would suggest using Selenium.  You 
can install the Python package and call it with something like 

using PyCall
@pyimport selenium.webdriver as webdriver
driver = webdriver.Firefox()
driver["get"]("http://something.net/blah/index.js";)
contents = string(driver["page_source"])
driver["quit"]()

This is a pretty simple example, but you should have a lot more flexibility 
going forward.  

-Alex


On Sunday, July 31, 2016 at 3:23:07 PM UTC-7, Ivan Pandžić wrote:
>
> Hey, guys, I have already searched a lot online, but can't seem to get 
> anything working. I have tried LibCURL.jl, Requests.jl and HTTPClient.jl. 
> Basically, what I need is something that allows me to get the contents of a 
> website. What's the best way?
>
> Thanks!
>
> Ivan
>

Reply via email to