Commits

Lynn Rees  committed 700da08

- update for multithreading

  • Participants
  • Parent commits f734b1c

Comments (0)

Files changed (1)

File test_spider.py

     print 2; pprint(a)
     a = spider.weburls('http://localhost/')
     print 3; pprint(a)
+    a = spider.weburls('http://localhost/', 200, 5, 3)
+    print 4; pprint(a)
     spider.ftpmirror('e:\\ftp\\', 14, 'ftp://localhost/')
     a = spider.ftpspider('ftp://localhost/')
-    print 4; pprint(a)
+    print 5; pprint(a)
     a = spider.webpaths('http://localhost/')
-    print 5; pprint(a)
+    print 6; pprint(a)
     spider.webreport('e:\\web1.txt', 'http://localhost/')
     spider.webmirror('e:\\web\\', 18, 'http://localhost/')
     a = spider.webspider('http://localhost/')
-    print 6; pprint(a)
+    print 7; pprint(a)
     spider.urlreport('e:\\web2.txt', 'http://localhost/',)
     spider.badurlreport('e:\\web3.txt', 'http://localhost/')
     spider.badhtmlreport('e:\\web4.txt', 'http://localhost/')