This directory contains projects focused on web scraping using JavaScript. The tasks cover concepts such as working with JSON data, making HTTP requests, and reading/writing files using the fs
module.
- Working with JSON data
- The workflow of accessing the attributes of a simply-created JSON object
- request module
- Modern JS
- Why JavaScript programming is amazing
- How to manipulate JSON data
- How to use
request
and fetch API - How to read and write a file using
fs
module
Task | File | Description |
---|---|---|
0. Readme | 0-readme.js | Write a script that reads and prints the content of a file. |
1. Write me | 1-writeme.js | Write a script that writes a string to a file. |
2. Status code | 2-statuscode.js | Write a script that displays the status code of a GET request. |
3. Star wars movie title | 3-starwars_title.js | Write a script that prints the title of a Star Wars movie where the episode number matches a given integer. |
4. Star wars Wedge Antilles | 4-starwars_count.js | Write a script that prints the number of movies where the character “Wedge Antilles” is present. |
5. Loripsum | 5-request_store.js | Write a script that gets the contents of a webpage and stores it in a file. |
6. How many completed? | 6-completed_tasks.js | Write a script that computes the number of tasks completed by user id. |
7. Who was playing in this movie? | 100-starwars_characters.js | Write a script that prints all characters of a Star Wars movie. |
8. Right order | 101-starwars_characters.js | Write a script that prints all characters of a Star Wars movie in the right order. |