cURL / Mailing Lists / curl-users / Single Mail

curl-users

simple question -- i must be missing something

From: bruce <badouglas_at_gmail.com>
Date: Wed, 3 Feb 2016 10:58:19 -0500

Hi.

Trying to figure out how to capture content from the following url. As
far as I can tell using FF/Livehtpheaders/etc... it's a get that
should be implemented. Basically, trying to figure out how to
programatically get the career/term as listed in the page.

using the following urls:
 https://my.boisestate.edu/
 https://my.boisestate.edu/#/home
 https://my.boisestate.edu/#/course-search

In a browser, the displayed content lists the career (undergrad/grad),
and term data fields.

Using the
 https://web.boisestate.edu/bsu-services/api/v1/term/get/CurrentPlus
 https://web.boisestate.edu/bsu-services/api/v1/term/get/NextPlus
   --the term(s) can be gotten.

However, I'm at a loss as to how to get the career.

When you look (using the source) of the browser, you can see the
career/term from the "https://my.boisestate.edu/#/course-search" url

However, I can't seem to generate a curl to get the same results

Since the site, allows the user to get to the class, via the main
page, guest page, class page, a test using curl to simulate that
process didn't work either..

So, what simple thing eludes me!

Any pointers would be good!

thanks

curl -A "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.11)
Gecko/2009061118 Fedora/3.0.11-1.fc9 Firefox/3.0.11" --cookie-jar
wsu.lwp --cookie wsu.lwp -L "https://my.boisestate.edu"

curl -A "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.11)
Gecko/2009061118 Fedora/3.0.11-1.fc9 Firefox/3.0.11" --cookie-jar
wsu.lwp --cookie wsu.lwp -e "https://my.boisestate.edu" -L
"https://my.boisestate.edu/#/home"

curl -A "Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.11)
Gecko/2009061118 Fedora/3.0.11-1.fc9 Firefox/3.0.11" --cookie-jar
wsu.lwp --cookie wsu.lwp -e "https://my.boisestate.edu" -L
"https://my.boisestate.edu/#/course-search"
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-users
FAQ: https://curl.haxx.se/docs/faq.html
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-02-03