cURL / Mailing Lists / curl-users / Single Mail

curl-users

curl issue...

From: bruce <badouglas_at_gmail.com>
Date: Sat, 2 Jul 2016 18:11:26 -0400

Hi.

Trying to solve/figure out what I've screwed up in the following tw0 (2)
curl statements.

Trying to get the results of the last curl, which should match the result
of what I get when I insert the url in the browser with javascript disabled.

Pretty sure it's something subtle I've missed.

Thoughts/comments would be useful.

Thanks

echo '' > a.lwp
curl -vvv -A "Mozilla/5.0 (iPad; CPU OS 6_0 like Mac OS X)
AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5355d
Safari/8536.25" --cookie-jar 'a.lwp' --cookie 'a.lwp' -L "
https://www.bkstr.com"

curl -vvv -A "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
Firefox/38.0" --cookie-jar "a.lwp" --cookie "a.lwp" -e '
http://www.bkstr.com/montgomerycollegestore/shop/books/textbooks-and-course-materials'
-L "
http://www.bkstr.com/webapp/wcs/stores/servlet/LocateCourseMaterialsServlet?requestType=INITIAL&storeId=432905&demoKey=d"

the results should be:
<script>parent.doneLoaded('{"meta":[{"request":"CAMPUSES","skip":"false","campusActive":"true","progActive":"true","termActive":"true","size":"3"}],"data":[{"Germantown
Campus":"3202","Rockville Campus":"3200","Takoma
Campus":"3201"}]}')</script>

-------------------------------------------------------------------
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-07-03