For python get url ignore 404, you can also use the `urllib` module if you don’t wanna install extra libraries. It’s a bit more manual but works fine.
Example:
```python
from urllib.request import urlopen
from urllib.error import HTTPError
url = "http://example.com/404"
try:
response = urlopen(url)
except HTTPError as e:
if e.code == 404:
print("404 error, moving on!")
```
Old-school but gets the job done.
Example:
```python
from urllib.request import urlopen
from urllib.error import HTTPError
url = "http://example.com/404"
try:
response = urlopen(url)
except HTTPError as e:
if e.code == 404:
print("404 error, moving on!")
```
Old-school but gets the job done.
