Changeset 20321
- Timestamp:
- 09/30/08 23:57:12 (5 years ago)
- Location:
- lang/php/Scraper
- Files:
-
- 4 added
- 1 modified
-
bin/exthtml.php (modified) (2 diffs)
-
tests (added)
-
tests/Diggin (added)
-
tests/Diggin/Uri (added)
-
tests/Diggin/Uri/HttpTest.php (added)
Legend:
- Unmodified
- Added
- Removed
-
lang/php/Scraper/bin/exthtml.php
r15201 r20321 34 34 'xpath|x=s' => 'xpath', 35 35 'referer|e=s' => 'referer', 36 'cookie|k=s' => 'cookie', 37 // "c|cookie-jar=s" => \$cookie, 38 // 'cookiejar|j=s'=> 'using cookie jar "loginUrl/user/pass"', 36 //'cookie|k=s' => 'cookie', 37 'cookieJar|c=s' => 'cookie', 39 38 'agent|a=s' => 'useragent', 40 39 'nextlink|n=s' => 'nextlink', … … 63 62 $client->setAuth($basicusername, $basicpassword, Zend_Http_Client::AUTH_BASIC); 64 63 } 65 if ($console->cookie) { 66 $cookie = (is_file($console->cookie)) ? file_get_contents($console->cookie) : $console->cookie; 67 $client->setCookie($cookie); 64 if ($console->cookieJar) { 65 require_once 'Diggin/Http/CookieJar/Loader/Firefox3.php'; 66 //Diggin_Http_CookieJar_Loader_Firefox3::load(); 67 $client->setCookieJar(); 68 //$cookie = (is_file($console->cookie)) ? file_get_contents($console->cookie) : $console->cookie; 69 //$client->setCookie($cookie); 68 70 } 69 71 if ($console->stoptime) {
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)