(cls, url=None, html=None, request_args=None)
| 112 | |
| 113 | @classmethod |
| 114 | def _get_soup(cls, url=None, html=None, request_args=None): |
| 115 | if html: |
| 116 | html = normalize(unescape(html)) |
| 117 | return BeautifulSoup(html, "lxml") |
| 118 | |
| 119 | html = cls._fetch_html(url, request_args) |
| 120 | html = normalize(unescape(html)) |
| 121 | |
| 122 | return BeautifulSoup(html, "lxml") |
| 123 | |
| 124 | @staticmethod |
| 125 | def _get_valid_attrs(item): |
no test coverage detected