---
title: "Discussion on \"Scraping a website and downloading files with Node.js using Axios and Cheerio\" | Hashnode"
description: "Discussion on \"Scraping a website and downloading files with Node.js using Axios and Cheerio\". Usually, when people mention web scraping, the first thing that comes into mind is Python. However, Node.js has various libraries that can perform web scraping. From basic Request method to more complex solutions like Puppeteer and Nightmare. But in ..."
url: "https://hashnode.com/posts/scraping-a-website-and-downloading-files-with-nodejs-using-axios-and-cheerio/5d68b3228bf344a72db91bc3"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Scraping a website and downloading files with Node.js using Axios and Cheerio](https://41x3n.hashnode.dev/scraping-a-website-and-downloading-files-with-nodejs-using-axios-and-cheerio?utm_source=hashnode&utm_medium=feed)

Usually, when people mention web scraping, the first thing that comes into mind is Python. However, Node.js has various libraries that can perform web scraping. From basic Request method to more complex solutions like Puppeteer and Nightmare. But in ...

Aug 30, 2019 · 41x3n.hashnode.dev  
Read the article

-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#axios](https://hashnode.com/tag/axios)
-   [#web-scraping](https://hashnode.com/tag/web-scraping)

## Written by

[Anindya Chowdhury](https://hashnode.com/@41x3n)

@41x3n · kolkata, India

  
[View profile](https://hashnode.com/@41x3n)

Commit Carefully

I am a full stack developer from 🇮🇳 - building communities, doing pair programming and sometimes fuming over DOTA 2 and Valorant! Oh, I have been a Microsoft fanboy for a long time too.

## Responses 1

Markdown supported · ⌘↵ to post

[Jhy](https://hashnode.com/@jhy)

[Apr 25, 2020](https://hashnode.com/posts/scraping-a-website-and-downloading-files-with-nodejs-using-axios-and-cheerio/5d68b3228bf344a72db91bc3/comment/5ea3e10212892a3c760b80e1)

It works well, but when I change the URL to another website, it won't work... (ex: [population.un.org/wpp/Download/Standard/Population](https://population.un.org/wpp/Download/Standard/Population/))

[Anindya Chowdhury](https://hashnode.com/@41x3n)

[Apr 25, 2020](https://hashnode.com/posts/scraping-a-website-and-downloading-files-with-nodejs-using-axios-and-cheerio/5d68b3228bf344a72db91bc3/comment/5ea3e10212892a3c760b80e1#reply-5ea44dc40135fc417662ef99)

Hi. Scraping scripts need to be custom made for different websites and links. The link you provided seems similar but need to make changes in the script to support it.
