HubobelsPython/venv/lib/python3.9/site-packages/scrapy/utils/markup.py
2022-01-02 21:50:48 +01:00

14 lines
415 B
Python

"""
Transitional module for moving to the w3lib library.
For new code, always import from w3lib.html instead of this module
"""
import warnings
from scrapy.exceptions import ScrapyDeprecationWarning
from w3lib.html import * # noqa: F401
warnings.warn("Module `scrapy.utils.markup` is deprecated. "
"Please import from `w3lib.html` instead.",
ScrapyDeprecationWarning, stacklevel=2)