automatic download of service manuals FSM (1 Viewer)

This site may earn a commission from merchant affiliate
links, including eBay, Amazon, Skimlinks, and others.

To get a list of urls from TIS you need (the list for 1996 lx450 is posted ealier so you need it only if you want another year/model like series 100):

You will need a good text editor and knowledge of regular expressions will help a lot.

1. For every type of publication (there is 15 types ex. Service Bulletins or Repair Manual or Wiring Diagrams - selectable from left frame on TIS website) you save the content of the frame which contains the list of all documents for this type. Pretty much you select one type at a time, click search, click find, and save content of the frame as html (I stress: html content of the frame not the whole parent html document)

2. Extract all lines with 'option' tag from the saved file. Just delete header and footer of the file. May need some adjustments to have one full 'option' tag per line. The 'options' contain links with .pl extensions.

3. Extract the urls from the options tags using 'replace' of your text document. One url per line.

4. Choose a random url from step 3 and try to download it. Use wget or even a browser with javascript turned off may work. You most likely need to be logged to TIS or use current TIS session ID if you use a downloader. Look at the content of the downloaded html and pick up a translated link from a javascript procedure inside the file.

5. Compare the format of urls from the list you prepared at step 3 with the format of a url from step 5. Transform urls from the list accordingly. Use 'replace' command of your text editor. This involves three spots
- url prefix
- file extension (from pl to pdf)
- add the extra directory, usually after a second level at the url path (it always ends with pdf) - this one is tricky and because of it you cannot process all publication types enlarge

6. Concatenate the lists for every publication. Now you have a one big list and you can feed it to wget.

The whole procedure is quick and easy just hard to explain. To write the above took me much more than prepare the list of urls.
 
> dos window flashing and dissapearing when I try to open wget.

wget is a command line tool. No graphic interface. So you use it from command prompt.

If any windowz user successes wit the download please post windowz specific adjustments to the procedure.
 
Ben,

You also need a current subscription to TIS so it might be better for you to experiment with wget before you start the clock ticking on your TIS subscription. As CBS said, wget is a command line tool. It comes from the 'nix world which will be unfamiliar to most people. Learning to use wget could take some work on your part though CBS has given us the parms he used in Linux.

I have been planning on getting another TIS subscription to get the electronic manuals for my new-to-me '97 Tacoma. This would be a good opportunity to test out the process using wget for WinXP and the process CBS used for getting the list of URLs.

CBS,
I'm proficient with a text editor and followed (I think) most of your instructions on getting the list of URL's. I will give this a go RSN... maybe by Sunday evening. (Picked up a new dual core Dell cheap on eBay that is supposed to be here by Friday... I'm chomping at the bit for an upgrade.)

-B-
 
Hey B, just fyi - the 24 hr timeframe is pretty soft. We had a power outage so I called and they gladly extended it another 24 hrs. They were also pretty friendly.
 
And if you also want ODB2 stuff from TIS here is the list. "OBDII Monitor Description and Specification Supplements - 1996 to 2003 Models and 2004 Sienna". Just concatenate this list of urls with the earlier list if you want general ODB2 for all toyotas, too.

http://techinfo.toyota.com/tis/tismain/obd2/general/level3/level2/level1/carbsour/oth021u/in/zgeninf/zfore.pdf
http://techinfo.toyota.com/tis/tismain/obd2/general/level3/level2/level1/carbsour/oth021u/in/zgeninf/zleg.pdf
http://techinfo.toyota.com/tis/tismain/obd2/general/level3/level2/level1/carbsour/oth021u/in/zgeninf/zomdp.pdf
http://techinfo.toyota.com/tis/tismain/obd2/general/level3/level2/level1/carbsour/oth021u/in/zgeninf/zomdm.pdf
http://techinfo.toyota.com/tis/tismain/obd2/general/level3/level2/level1/carbsour/oth021u/in/zgeninf/zcms.pdf
http://techinfo.toyota.com/tis/tismain/obd2/general/level3/level2/level1/carbsour/oth021u/in/zgeninf/zdm06d.pdf
http://techinfo.toyota.com/tis/tismain/obd2/general/level3/level2/level1/carbsour/oth021u/in/zgeninf/zomsc.pdf
http://techinfo.toyota.com/tis/tismain/obd2/general/level3/level2/level1/carbsour/oth021u/in/zgeninf/zter.pdf
http://techinfo.toyota.com/tis/tismain/obd2/general/level3/level2/level1/carbsour/oth021u/in/zgeninf/zdtccha1.pdf
http://techinfo.toyota.com/tis/tismain/obd2/general/level3/level2/level1/carbsour/oth021u/in/zgeninf/zdtccha2.pdf
http://techinfo.toyota.com/tis/tismain/obd2/general/level3/level2/level1/carbsour/oth021u/in/zgeninf/zdtccha3.pdf
http://techinfo.toyota.com/tis/tismain/obd2/general/level3/level2/level1/carbsour/oth021u/ce/zceimi/zceims.pdf
http://techinfo.toyota.com/tis/tismain/obd2/general/level3/level2/level1/carbsour/oth021u/co/zceomi/zceoms.pdf
http://techinfo.toyota.com/tis/tismain/obd2/general/level3/level2/level1/carbsour/oth021u/as/zasmi/zasms.pdf
http://techinfo.toyota.com/tis/tismain/obd2/general/level3/level2/level1/carbsour/oth021u/ho/zhosmi/zhosms.pdf
http://techinfo.toyota.com/tis/tismain/obd2/general/level3/level2/level1/carbsour/oth021u/th/zthe/cithermo.pdf
http://techinfo.toyota.com/tis/tismain/obd2/general/level3/level2/level1/carbsour/oth021u/fu/zclc/ciclosed.pdf
http://techinfo.toyota.com/tis/tismain/obd2/general/level3/level2/level1/carbsour/oth021u/fu/zfuetri/citoolea.pdf
http://techinfo.toyota.com/tis/tismain/obd2/general/level3/level2/level1/carbsour/oth021u/mi/zmisdet/cimisfir.pdf
http://techinfo.toyota.com/tis/tismain/obd2/general/level3/level2/level1/carbsour/oth021u/eg/zemi/zems.pdf
http://techinfo.toyota.com/tis/tismain/obd2/general/level3/level2/level1/carbsour/oth021u/ca/zcdm/cicataly.pdf
http://techinfo.toyota.com/tis/tismain/obd2/general/level3/level2/level1/carbsour/oth021u/ev/zevmi/zevms.pdf
http://techinfo.toyota.com/tis/tismain/obd2/general/level3/level2/level1/carbsour/oth021u/tu/ztps/citurbop.pdf
http://techinfo.toyota.com/tis/tismain/obd2/general/level3/level2/level1/carbsour/oth021u/tu/ztps/cisensor.pdf
http://techinfo.toyota.com/tis/tismain/obd2/general/level3/level2/level1/carbsour/oth021u/tu/ztpc/ciboostp.pdf
http://techinfo.toyota.com/tis/tismain/obd2/general/level3/level2/level1/carbsour/oth021u/tu/ztpc/citurbov.pdf
http://techinfo.toyota.com/tis/tismain/obd2/general/level3/level2/level1/carbsour/oth021u/cn/zfts/cifuelte.pdf
http://techinfo.toyota.com/tis/tismain/obd2/general/level3/level2/level1/carbsour/oth021u/cn/zfps/cifuelpr.pdf
http://techinfo.toyota.com/tis/tismain/obd2/general/level3/level2/level1/carbsour/oth021u/sm/zshicha/cishiftc.pdf
http://techinfo.toyota.com/tis/tismain/obd2/general/level3/level2/level1/carbsour/oth021u/sm/zslsw/cishiftl.pdf
http://techinfo.toyota.com/tis/tismain/obd2/general/level3/level2/level1/carbsour/oth021u/sm/zcancom/cicancom.pdf
http://techinfo.toyota.com/tis/tismain/obd2/general/level3/level2/level1/carbsour/oth021u/sm/zmps/cimaster.pdf
http://techinfo.toyota.com/tis/tismain/obd2/general/level3/level2/level1/carbsour/oth021u/ct/zctimi/zctims.pdf
http://techinfo.toyota.com/tis/tismain/obd2/general/level3/level2/level1/carbsour/oth021u/cm/zctomi/zctoms.pdf

end of the ODB2 list :bounce2:
 
Beowulf said:
...so it might be better for you to experiment with wget before you start the clock ticking on your TIS subscription..
That's what I was thinking. If a windows xp user that is computer literate can document the process it would be appreciated immensely!
 
Junk said:
Hey B, just fyi - the 24 hr timeframe is pretty soft. We had a power outage so I called and they gladly extended it another 24 hrs. They were also pretty friendly.

Thanks Junk, that's good to know. We also found out the 24 hrs is also very generous and can be up to 47 hours. Example: If you start the subscription at 1am on Saturday morning it doesn't expire until midnight on Sunday.

-B-
 
Grrr. I keep getting "unsupported scheme" Which I think means that I'm not authenticating properly to the server.




=> `techinfo.toyota.com/ileaf/lex01brm/lex01pdf/brmsourc/lexbrm/brm053lx/protecti/generali.pdf'
Connecting to techinfo.toyota.com|63.87.74.102|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://techinfo.toyota.com/login/techinfologin.html?TYPE=33554433&REALMOID=06-3e77acb6-072b-001a-0000-0d2f00000d2f&GUID=&SMAUTHREASON=0&METHOD=GET&SMAGENTNAME=$SM$uFrIr6mrEFk4%2fkn1w2Skx%2fel65nBMLdlDYCGmKMBPvk3iuAAaLkYIg%3d%3d&TARGET=$SM$http%3a%2f%2ftechinfo%2etoyota%2ecom%2fileaf%2flex01brm%2flex01pdf%2fbrmsourc%2flexbrm%2fbrm053lx%2fprotecti%2fgenerali%2epdf [following]
https://techinfo.toyota.com/login/techinfologin.html?TYPE=33554433&REALMOID=06-3e77acb6-072b-001a-0000-0d2f00000d2f&GUID=&SMAUTHREASON=0&METHOD=GET&SMAGENTNAME=$SM$uFrIr6mrEFk4%2fkn1w2Skx%2fel65nBMLdlDYCGmKMBPvk3iuAAaLkYIg%3d%3d&TARGET=$SM$http%3a%2f%2ftechinfo%2etoyota%2ecom%2fileaf%2flex01brm%2flex01pdf%2fbrmsourc%2flexbrm%2fbrm053lx%2fprotecti%2fgenerali%2epdf: Unsupported scheme.
--16:49:12-- http://techinfo.toyota.com/ileaf/lex01brm/lex01pdf/brmsourc/lexbrm/brm053lx/protecti/bodypane.pdf
=> `techinfo.toyota.com/ileaf/lex01brm/lex01pdf/brmsourc/lexbrm/brm053lx/protecti/bodypane.pdf'
Connecting to techinfo.toyota.com|63.87.74.102|:80... connected.




Thoughts?
 
...........or you can just look up any year Cruiser and print off the pages you need from TIS at school, err, sorry. That's just me.
 
Did you get a TIS subscription and build the authentication cookie as described by CBS?

-B-
 
Beowulf said:
Did you get a TIS subscription and build the authentication cookie as described by CBS?

-B-

Yea, I've got the login and built the authentication cookie so I'm not sure whats going on. I'm looking at the auth cookie and it's pretty simple concept so I'm not sure what I'm overlooking.

Hmm So now I'm getting a techinfo.toyota.com directory created and a directory "login" under that.
 
Last edited:
Not being familiar with this tool, nor with much unix lingo, is there any possibility of using wildcards to minimize the work here? After all, from my limited experience (downloaded several Toyota manuals for various vehicles), they all have the same directory structure, layout, and use the same filename scheme for each vehicle, so the only variable in most cases (if not all) is/are the file names which are just incremental numbers appended to preordained section names. Can't this be made generic in some way by the gods of greater computing skills? :D :D
 
You'd think so wouldn't you? Alas, it's not that simple
 
Scamper said:
Can't this be made generic in some way by the gods of greater computing skills?

I'm thinking we could build a series of the "urls.txt" files; one for each year/model covering 96LX, 97LX, 91LC...97LC, then the 100 series, and other common Toys that are represented here on 'Mud (97Taco, 99Tundra, etc.)

Then someone could try building a script that would get the authentication cookie and automagically put it into COOKIES.TXT in the proper format. The script would also provide for a somewhat user-friendly way to enter the year and model, then pull in the appropriate URLS.TXT. It would be possible to seperate the URLS.TXT in to individual manuals and enable the script to prompt for the desired manual. Then the script would initiate the wget with proper parms. Next would be to do a rename, with LFNs, all the files to something that approximated the corresponding Toyota manual sequence. (The issue here is that we would lose the soft links... but that's not a big deal.) Finally, a step to combine all the PDF's to a "Complete Manual" and maybe an index. The result would be 2 or 3 versions of each book but that would give you the flexibility to read using the hierchial structure (w/LFN's) or the "Complete Manual" using Acrobat and it's search function. (Loading the complete manual into AR would be slooooooow; least it is on my current PC.)

CBS's discovery has overcome a huge hurdle in the automation process... if we can duplicate his efforts without each of us having to build up a Linux box.

BTW, I don't think any of this would violate any of the licensing or copyrights or the TOS for the TIS site. Everyone wanting the manuals for their year/model would be required to get their own account set up and the electronic manuals would only be downloaded to their PC.

-B-
 
Last edited:
Has anyone else gotten this to work? I'm sure that I have something horked up in the cookies.txt, I just can't sort out what.

If someone else has it and can send me their cookies.txt (with cookie deleted) I can probably piece together what I've got wrong.
 
D'oh.

I've got it now and it works on Windoz just fine.

The windows instructions are the same as the Linux instructions. Download Wget, make a directory and put Wget, cookies.txt and urls.txt in that directory.

With the cookies.txt file I was using a O (Oh!) instead of a 0 (Zero) at first. Then I proceded to completely hack the cookies.txt file to death until I slowed down and just started over on that file. Now I'm happily downloading.

Nice work CBS, this is a huge improvement over manually downloading the files 1 at a time like I did before the birf job.
 
Excellent CBS! :bounce:

Just something to be aware of, but if you log off and then log back on at a later time, your cookie from Toyota may change. This may happen if you exit your browser and try to go in again later as well. If this happens, and you will know it is happening because wget will fail when downloading, just make sure you update your cookies.txt file to reflect the new session serial number found in the new cookie...
 
Terry,
If you built the URLS.TXT file for a '95 LC then please post it or send it to me. One less that I'll have to do whenever I get around to it.
-B-
 
Great to hear that you make it work on Windows.

The cookie changes every time you access any page on TIS. Not only with a new logon. So if you get the cookie from a browser stop using the browser on TIS site until wget is done with downloading.

Every time to restart wget (it failed or something) you need a new fresh cookie from your browser.
 

Users who are viewing this thread

Back
Top Bottom