!pip install wget
Collecting wget
  Using cached wget-3.2.zip
Installing collected packages: wget
  Running setup.py install for wget ... - \ done
Successfully installed wget-3.2
import wget
wget.download('http://zareenfarooqui.com/files/eswiki_20161101_headings_6.tsv.bz2')
'eswiki_20161101_headings_6.tsv.bz2'
!ls
eswiki_20161101_headings_6.tsv	     eswiki_heading_freq.ipynb
eswiki_20161101_headings_6.tsv.bz2   generate_es_headers_file.ipynb
eswiki_20161101_headings_6_noWS.tsv  get_compressed_file.ipynb