question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

download page HTML changed, `kg download` not working

See original GitHub issue

Assuming that I’m not completely confused, I think Kaggle just changed its HTML code and as a result, (at the very least) downloading datasets doesn’t work any more; for example, https://www.kaggle.com/c/the-nature-conservancy-fisheries-monitoring/data contains no data-files div any more, leading to the stack trace

https://www.kaggle.com:443 "GET /account/login HTTP/1.1" 200 5203

https://www.kaggle.com:443 "POST /account/login HTTP/1.1" 302 133
https://www.kaggle.com:443 "GET /account/welcome HTTP/1.1" 302 118
https://www.kaggle.com:443 "GET / HTTP/1.1" 200 9978
https://www.kaggle.com:443 "GET /c/the-nature-conservancy-fisheries-monitoring/data HTTP/1.1" 200 25109

  File "/home/ubuntu/anaconda2/lib/python2.7/site-packages/kaggle_cli/download.py", line 30, in take_action
    links = data_page.soup.find(id='data-files').find_all('a')
AttributeError: 'NoneType' object has no attribute 'find_all'

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:2
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

3reactions
tbgcommented, Feb 2, 2017
2reactions
Shoshin23commented, Feb 11, 2017

I had the same error. doing a pip install kaggle-cli --upgrade helped me resolve the problem. Just letting everyone else know.

Read more comments on GitHub >

github_iconTop Results From Across the Web

html5 href download attribute not working with .pdf file
When I try downloading from the link in Safari 7.0.6 I get this message: "Forbidden. You don't have permission to access /splosion_CV.pdf on...
Read more >
How to fix file getting download issue while opening website?
Today in this video you will learn how to fix file (application/x/httpd-php) getting download issue while opening website.
Read more >
How to Download Files With JavaScript | by Stan Georgian
The first and the simplest method implies creating an anchor HTML element that has the download attribute. By definition, the download attribute ...
Read more >
Create a Downloadable Link using HTML5 Download Attribute
The download attribute only works for same-originl URLs. So if the href is not the same origin as the site, it won't work....
Read more >
Blackboard Learn - Apps on Google Play
Welcome to Blackboard's mobile solution. An app that helps you stay up-to-date with everything in your course. Students can: • View updates to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found