filebot.scm 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. ; make sure this directory exsist!
  2. (setf save_path "e:\\mp3\\")
  3. ; pages to start traversing from
  4. (add_page "http://personal.nbnet.nb.ca/jkeller/MP3.HTM")
  5. (add_page "http://www.geocities.com/Area51/Vault/8821/mp3.html")
  6. (add_page "http://personal.nbnet.nb.ca/jkeller/MP3.HTM")
  7. (add_page "http://hem2.passagen.se/lethagen/Prodigy/")
  8. (add_page "http://thebigsite.com/index.html")
  9. (add_page "http://www.wgn.net/~eburrow/mp3.html")
  10. ; add thread takes x & y offset for window position
  11. (add_thread 0 20) (add_thread 320 20)
  12. (add_thread 0 70) (add_thread 320 70)
  13. (add_thread 0 120) (add_thread 320 120)
  14. (add_thread 0 170) (add_thread 320 170)
  15. (add_thread 0 220) (add_thread 320 220)
  16. (add_thread 0 270) (add_thread 320 270)
  17. (add_thread 0 320) (add_thread 320 320)
  18. (add_thread 0 370) (add_thread 320 370)
  19. (add_thread 0 420)
  20. (setf process_extensions '(".html" ".htm"))
  21. (setf save_extensions '(".mp3"))
  22. (setf include_sub_strings '(
  23. (".html") ; follow any html page
  24. (".htm")
  25. (".com")
  26. (".net")
  27. (".edu")
  28. (".htm")
  29. (".mp3"
  30. "rem."
  31. "weezer"
  32. "ADAM_SANDLER" "adamsandler"
  33. "u2"
  34. "willsmith" "will_smith"
  35. "offspring"
  36. "sarah_mclachlan" "sarahmclachlan"
  37. "No_Doubt" "nodoubt"
  38. "Notorious" "puffdaddy"
  39. "james_bond" "jamesbond"
  40. "mariah_carey" "Mariahcarey"
  41. "matchbox20"
  42. "pinkfloyd"
  43. "aerosmith"
  44. "batman" "movie" "jurpark" "indianajones" "indiana_jones"
  45. "Robert_Miles"
  46. "No_Doubt"
  47. "depeche"
  48. "queen"
  49. "simpsons"
  50. "simon"
  51. "CHUMBAWAMBA"
  52. "SirenPossession"
  53. "Spice"
  54. "Karma Police" "karampolice"
  55. "prodigy"
  56. )))
  57. ; don't process any page/file that has these sub strings
  58. (setf exclude_sub_strings '("toriamos" ; enough already!
  59. "jacky1" ; this guy has crap
  60. "mailto"
  61. "www.mp3.com" ; they don't have any that I can tell of
  62. ))
  63. ; don't save files smaller than this (700k)
  64. (setf save_min_size 700000)
  65. ; load up our history of previously saved files
  66. (load "saved_files.scm")
  67. ; load up history of visited urls
  68. (load "visited_urls.scm")
  69. ; timeout depends on how much data we have already, if we we a lot then
  70. ; give a little longer to respond so we have less chance of wasting time
  71. (setf timeouts '((100000000 1000) ;
  72. (1000000 500)
  73. (500000 360)
  74. (200000 120)
  75. (100000 60)
  76. (50000 45)
  77. (10000 30) ; if we have 10K give them 30 seconds to respond
  78. ))