Using the compiled regex patterns above together with a ```continue``` stamement instead of the ```for...break...else``` pattern here feels more readable to me:

```python
        if any(exclude.match(url) for exclude in excludes):
            continue
```
Then the lines below wouldn't even need to be indented under an ```else``` case