__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
"""Exceptions defined by Beautiful Soup itself."""
from typing import Union
class StopParsing(Exception):
"""Exception raised by a TreeBuilder if it's unable to continue parsing."""
class FeatureNotFound(ValueError):
"""Exception raised by the BeautifulSoup constructor if no parser with the
requested features is found.
"""
class ParserRejectedMarkup(Exception):
"""An Exception to be raised when the underlying parser simply
refuses to parse the given markup.
"""
def __init__(self, message_or_exception: Union[str, Exception]):
"""Explain why the parser rejected the given markup, either
with a textual explanation or another exception.
"""
if isinstance(message_or_exception, Exception):
e = message_or_exception
message_or_exception = "%s: %s" % (e.__class__.__name__, str(e))
super(ParserRejectedMarkup, self).__init__(message_or_exception)
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| __pycache__ | Folder | 0755 |
|
|
| builder | Folder | 0755 |
|
|
| tests | Folder | 0755 |
|
|
| __init__.py | File | 43.18 KB | 0644 |
|
| _deprecation.py | File | 2.34 KB | 0644 |
|
| _typing.py | File | 6.95 KB | 0644 |
|
| _warnings.py | File | 4.6 KB | 0644 |
|
| css.py | File | 12.39 KB | 0644 |
|
| dammit.py | File | 50.27 KB | 0644 |
|
| diagnose.py | File | 7.65 KB | 0644 |
|
| element.py | File | 106.77 KB | 0644 |
|
| exceptions.py | File | 951 B | 0644 |
|
| filter.py | File | 28.14 KB | 0644 |
|
| formatter.py | File | 10.22 KB | 0644 |
|
| py.typed | File | 0 B | 0644 |
|