Skip to content
Browse files

Merge branch 'master' of github.com:dsample/JaikuBackup

  • Loading branch information...
2 parents 100ffa7 + 925a2f6 commit 22d91196444dc2b507a3d30d5e56adc3c6c0003d @dsample committed
Showing with 3 additions and 1 deletion.
  1. +3 −1 scrape.php
View
4 scrape.php
@@ -50,6 +50,8 @@
This will download the JSON files. If you specified the cookie login information it will have stored the cookie information in the script already.
+*/
+
/***** LEAVE EVERYTHING BELOW HERE ALONE *****/
$jaiku_start_url = 'http://' . $username . '.jaiku.com/';
@@ -166,7 +168,7 @@ function do_xpath($xml, $query)
{
$cookie = '';
}
- fwrite($listJSONscript, 'curl' . $cookie . ' --create-dirs -o ' . $username . '_json/' . $post_user . '/' . $post_id . '.json ' . $postURL . "/json\n");
+ fwrite($listJSONscript, 'curl -C' . $cookie . ' --create-dirs -o ' . $username . '_json/' . $post_user . '/' . $post_id . '.json ' . $postURL . "/json\n");
}
$nextPage = findNextPage($xml);

0 comments on commit 22d9119

Please sign in to comment.
Something went wrong with that request. Please try again.