14 lines
421 B
Markdown
14 lines
421 B
Markdown
# HTTP JavaScript Scraper
|
|
|
|
Run the code with the following:
|
|
|
|
```bash
|
|
python3 main.py https://www.nintendo.com
|
|
```
|
|
|
|
Any site that does not serve HTTP/2 content will return a 301 HTTP response code and fail out of the program.
|
|
This can be seen by plugging in `https://www.rit.edu` into the input.
|
|
It will return a 301 trying to redirect you to HTTP/2 on the same address and port.
|
|
No additional dependencies are required.
|
|
|