curl / Mailing Lists / curl-users / Single Mail

curl-users

Re: curl/user issue...

From: Aleksandar Lazic via curl-users <curl-users_at_cool.haxx.se>
Date: Thu, 18 May 2017 15:59:13 +0200

Hi.

Am Thu, 18 May 2017 07:29:32 -0400
schrieb bruce via curl-users <curl-users_at_cool.haxx.se>:

> Hi.
>
> I'm trying to use the cmdline curl to fetch a page. The url in the
> browser works so I must be missing something. I'm getting a page that
> appears to be triggered off the user agent, as the content in the
> returned data has something to the effect "your browser not supported"
>
> When the curl/fetch is working, I would expect to get a page with a
> bunch of content. If "Summer 2017" is present, is working...
>
> The url is:
> https://m.sis.vccs.edu/app/catalog/getClassSearch
>
>
> The curl cmd I'm using is:
>
> curl -v -sS -A "Mozilla/5.0 (X11; Linux x86_64; rv:45.0)
> Gecko/20100101 Firefox/45.0" --cookie-jar aa.lwp --cookie aa.lwp
> -L 'https://m.sis.vccs.edu/app/catalog/getClassSearch'
>
> Turning on verbosity doesn't seem to shed any light on what I've
> missed.
>
> Any thoughts/pointers..

You can use the 'copy as curl' feature in the network window ( F12 )
in firefox.

Regards
Aleks
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-05-18