{
  "id": 39492,
  "title": "How to download data directly in a cloud server (AWS/Google Cloud)",
  "url": "/competitions/cdiscount-image-classification-challenge/discussion/39492",
  "author_name": "",
  "post_date": "2017-09-15T03:45:17.483322600Z",
  "votes": 6,
  "comment_count": 3,
  "views": 0,
  "content": "<p>We need to be logged in kaggle.com to download the datasets. To do that using <strong><code>wget</code></strong> command-line tool, just save cookie information in a <strong><code>cookies.txt</code></strong> file and run:</p>\n\n<pre><code>wget -x -c --load-cookies cookies.txt -P data -nH --cut-dirs=5 https://www.kaggle.com/c/cdiscount-image-classification-challenge/download/test.bson\n\nwget -x -c --load-cookies cookies.txt -P data -nH --cut-dirs=5 https://www.kaggle.com/c/cdiscount-image-classification-challenge/download/train.bson\n</code></pre>\n\n<p>To download cookie information, <a href=\"https://chrome.google.com/webstore/detail/cookietxt-export/lopabhfecdfhgogdbojmaicoicjekelh\">install a Chrome plugin</a>, go to kaggle.com, click on the plugin button, copy/paste the text in <strong><code>cookies.txt</code></strong>, and upload it in your server.</p>\n\n<p>Cheers!</p>\n\n<p>Carlos</p>",
  "messages": [
    {
      "id": "221390",
      "postDate": "09/15/2017 03:45:17",
      "content": "<p>We need to be logged in kaggle.com to download the datasets. To do that using <strong><code>wget</code></strong> command-line tool, just save cookie information in a <strong><code>cookies.txt</code></strong> file and run:</p>\n\n<pre><code>wget -x -c --load-cookies cookies.txt -P data -nH --cut-dirs=5 https://www.kaggle.com/c/cdiscount-image-classification-challenge/download/test.bson\n\nwget -x -c --load-cookies cookies.txt -P data -nH --cut-dirs=5 https://www.kaggle.com/c/cdiscount-image-classification-challenge/download/train.bson\n</code></pre>\n\n<p>To download cookie information, <a href=\"https://chrome.google.com/webstore/detail/cookietxt-export/lopabhfecdfhgogdbojmaicoicjekelh\">install a Chrome plugin</a>, go to kaggle.com, click on the plugin button, copy/paste the text in <strong><code>cookies.txt</code></strong>, and upload it in your server.</p>\n\n<p>Cheers!</p>\n\n<p>Carlos</p>",
      "rawMarkdown": "We need to be logged in kaggle.com to download the datasets. To do that using **`wget`** command-line tool, just save cookie information in a **`cookies.txt`** file and run:\n\n    wget -x -c --load-cookies cookies.txt -P data -nH --cut-dirs=5 https://www.kaggle.com/c/cdiscount-image-classification-challenge/download/test.bson\n\n    wget -x -c --load-cookies cookies.txt -P data -nH --cut-dirs=5 https://www.kaggle.com/c/cdiscount-image-classification-challenge/download/train.bson\n\nTo download cookie information, [install a Chrome plugin](https://chrome.google.com/webstore/detail/cookietxt-export/lopabhfecdfhgogdbojmaicoicjekelh), go to kaggle.com, click on the plugin button, copy/paste the text in **`cookies.txt`**, and upload it in your server.\n\nCheers!\n\nCarlos",
      "votes": null
    },
    {
      "id": "221391",
      "postDate": "09/15/2017 03:49:01",
      "content": "<p>You can also download by unofficial CUI tool.</p>\n\n<p><a href=\"https://github.com/floydwch/kaggle-cli\">https://github.com/floydwch/kaggle-cli</a></p>",
      "rawMarkdown": "You can also download by unofficial CUI tool.\n\nhttps://github.com/floydwch/kaggle-cli",
      "votes": null
    },
    {
      "id": "221425",
      "postDate": "09/15/2017 08:21:33",
      "content": "<p>Kaggle-CLI is the go tool for this</p>",
      "rawMarkdown": "Kaggle-CLI is the go tool for this",
      "votes": null
    },
    {
      "id": "221566",
      "postDate": "09/15/2017 17:04:56",
      "content": "<p>thanks, it works for me.</p>",
      "rawMarkdown": "thanks, it works for me.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 221391,
      "author_name": "kambarakun",
      "author_url": "",
      "post_date": "09/15/2017 03:49:01",
      "content": "<p>You can also download by unofficial CUI tool.</p>\n\n<p><a href=\"https://github.com/floydwch/kaggle-cli\">https://github.com/floydwch/kaggle-cli</a></p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 221425,
      "author_name": "rdoume",
      "author_url": "",
      "post_date": "09/15/2017 08:21:33",
      "content": "<p>Kaggle-CLI is the go tool for this</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 221566,
      "author_name": "zhijianli",
      "author_url": "",
      "post_date": "09/15/2017 17:04:56",
      "content": "<p>thanks, it works for me.</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "221390": "We need to be logged in kaggle.com to download the datasets. To do that using **`wget`** command-line tool, just save cookie information in a **`cookies.txt`** file and run:\n\n    wget -x -c --load-cookies cookies.txt -P data -nH --cut-dirs=5 https://www.kaggle.com/c/cdiscount-image-classification-challenge/download/test.bson\n\n    wget -x -c --load-cookies cookies.txt -P data -nH --cut-dirs=5 https://www.kaggle.com/c/cdiscount-image-classification-challenge/download/train.bson\n\nTo download cookie information, [install a Chrome plugin](https://chrome.google.com/webstore/detail/cookietxt-export/lopabhfecdfhgogdbojmaicoicjekelh), go to kaggle.com, click on the plugin button, copy/paste the text in **`cookies.txt`**, and upload it in your server.\n\nCheers!\n\nCarlos",
    "221391": "You can also download by unofficial CUI tool.\n\nhttps://github.com/floydwch/kaggle-cli",
    "221425": "Kaggle-CLI is the go tool for this",
    "221566": "thanks, it works for me."
  },
  "source": "meta"
}