Subaru Forester Owners Forum banner
  • The "Garage" feature is for images of YOUR VEHICLE/S only - no blanks or other unrelated images please, thanks

How to - service manuals, from STIS 3 day subscription (merged thread)

1 reading
206K views 185 replies 80 participants last post by  j3rf  
From the staff:

Forum Rules - Please read!



Since there always seems to be a lot of service manual threads/questions when a new new model year comes out and the answers haven't changed there is now this sticky.

Common questions:
  1. Where can I get a manual and how much will it cost?
  2. What about 3rd party manuals like Haynes or Chilton?
  3. Ebay manuals, are they good?
  4. I found a manual online for free.

Answers:
  1. You can get a paper manual at your dealer, just be prepared for a sticker shock moment. The paper copies run between $400-$700 depending on what dealer you get them from and any discount that is given to you.

    You can also download a PDF copy from Subaru Technical Information System - Welcome . This is Subaru's online resource system. It is a mix of items that you need to pay for access to get and others that are free like accessory install sheets and Owners manuals.

  2. Third party manuals,
    Haynes is the information resource for the DIY enthusiast or Do It Yourself and DIY Auto Repair by ChiltonDIY and ALLDATAdiy.com Leading Source of Factory Automotive Repair Information

    They are fine for some people. They offer the basic information needed by many for typical repairs. The catch is often they lack the in depth info needed on some topics and have more errors that don't get updated. They can be a good tool when used for the right task.

    Another good source for the casual user can also be Membership Benefits | AutoZone.com They offer some limited online repair guides to members. They don't offer everything but enough to get the average owner by when needed.

  3. Ebay manual downloads, Most are nothing more than a Pirated manual that is being sold via a Ebay storefront.

  4. Pirated manuals, A manual that some one at some time downloaded from STIS and put online for others to grab. Pirated manuals are again one of those that may be out of date and lack the latest information as they have likely been out in the wild for years.

    On that note, Subaru Service Manuals are copyrighted. Don't go posting links to these downloads on the forum.

    Forum Rules - Please read!

    They will be removed and you will likely get points, a vacation or be banned.
------------------------------------------------------------------------------------------------------------------------------
FlashEngineer's post

I did a write up for the 2014, it should work with any year, you just gotta buy the 3 day pass and edit the script for the correct path for that manual.

Easily done, got this from a thread of Outback forums. This method is on linux machine, use Ubuntu or whatever flavour.

Basically go to: Subaru Technical Information System

1). You need to purchase the 3 day pass.

2). Login and grab your cookie sessionID, I use Chrome and just right click, view page info and cookies, find the one for techinfo.subaru.com, looks something like this:

8912c3fe0896346712dff6e24f97

Keep your browser opened.

3). Copy that and put that in text file. Name it "cookie" because that's what my script uses. Copy this and replace the cookie hash at the end:

Code:
techinfo.subaru.com	FALSE	/	FALSE	0	JSESSIONID	8912c3fe0896346712dff6e24f97
4). Now leave your computer on for ~24-25 hours to run this since there's 50 limit per hour the implemented, still enough to do the 72 hour window you got.

5). This is basic bash script, name it whatever.sh and change permissions. Run it in the directory you want to store the files, there will be 1163 PDF's(for a 2014 XT).

Code:
star=1 #starting item #
fin=1163 #last item #

#For through all docs on page
for i in $(seq $star $fin)
do

## Tell where we are in the process (print to screen)
echo "***DEBUG*** "$i"  item G8190BEV11_"$i" received "$(date +"%c")"******"

#If using \ to escape "newlines" (ie go to the next line) ensure no spaces after \
curl -L \
--cookie cookie \
"http://techinfo.subaru.com/proxy/74888/pdf/serviceManual/074888_2014_Forester/\
G8190BEV11_"$i".pdf" \
> "G8190BEV11_"$i".pdf"

##If this is the 50th doc OR the last in the series, then sleep for 60 minutes and ...
##    ... one second. Otherwise between vehicle sets you may get an error.
if !(($i%50)) || (($i==$fin)); then sleep 3601; fi

done #with docs on page
I've never done anything like this, but I tried to follow your directions as best as possible.

I ran the script and I'm getting the errors:

./ForesterScript.sh: line 3: $'\r': command not found
./ForesterScript.sh: line 6: syntax error near unexpected token `$'do\r''
'/ForesterScript.sh: line 6: `do


I'm not sure what I'm doing wrong? Also, what do you mean by "cookie hash at the end" and "change permissions"?
 
This is all done in linux bash shell, you can't do this in windows unless you convert the scripts to batch file or something. You have to know some basic linux shell to do this, and if you don't get what "change permissions" mean, then I think it might be beyond the scope of this tutorial.

Not sure if you're running this on what platform or shell but the errors you're getting is because you're using some editor that doesn't understand proper ASCII and it's putting some /r and other junk as carriage returns.
I do have Cygwin installed for Win 8 64 bit to run the script and I typed the script in notepad. Then I saved it as .sh. That might be the problem, by typing it in notepad and not an editor, haha. I've done some FORTRAN coding, but that's been 3 years.

So it looks like I'm missing a few steps:
  • Need a proper editor
  • Convert the script to batch?
 
IF you're running cygwin, that's enough as a linux shell command, you don't need to convert to batch files. Just use the built in editor like vi or vim or emacs etc. Don't use a windows editor like notepad, it adds unnecessary characters.

Also the bunch of random letters/numbers in the cookie file at the end of the line is called a hash (google it), you need to grab your own login session id hash and put it in, otherwise you won't be able to access as the server won't know it's you.
So after about 4hrs of googling and youtube, I finally got the script to compile. However, the files aren't opening and it seems that they aren't being fully downloaded.

Any idea what is wrong? I screenshotted the script, the error from the PDF reader, and the file sizes.
 

Attachments

You have insufficient privileges to reply here.