HomeSort by relevance Sort by last modified time
    Searched refs:bs4 (Results 1 - 25 of 46) sorted by null

1 2

  /external/chromium-trace/catapult/catapult_build/
parse_html.py 11 import bs4 namespace
17 # http://www.crummy.com/software/BeautifulSoup/bs4/doc/#installing-a-parser
18 return bs4.BeautifulSoup(markup=contents, features='html5lib')
html_checks.py 11 import bs4 namespace
50 if isinstance(item, bs4.Doctype) and item.lower() == 'html':
  /external/chromium-trace/catapult/third_party/beautifulsoup4/bs4/tests/
test_htmlparser.py 4 from bs4.testing import SoupTest, HTMLTreeBuilderSmokeTest
5 from bs4.builder import HTMLParserTreeBuilder
test_lxml.py 15 from bs4.builder import LXMLTreeBuilder, LXMLTreeBuilderForXML
17 from bs4 import (
21 from bs4.element import Comment, Doctype, SoupStrainer
22 from bs4.testing import skipIf
23 from bs4.tests import test_htmlparser
24 from bs4.testing import (
test_html5lib.py 6 from bs4.builder import HTML5TreeBuilder
10 from bs4.element import SoupStrainer
11 from bs4.testing import (
test_builder_registry.py 5 from bs4 import BeautifulSoup
6 from bs4.builder import (
13 from bs4.builder import HTML5TreeBuilder
19 from bs4.builder import (
test_soup.py 9 from bs4 import (
13 from bs4.element import (
19 import bs4.dammit namespace
20 from bs4.dammit import (
24 from bs4.testing import (
31 from bs4.builder import LXMLTreeBuilder, LXMLTreeBuilderForXML
197 chardet = bs4.dammit.chardet_dammit
203 bs4.dammit.chardet_dammit = noop
212 bs4.dammit.chardet_dammit = chardet
332 chardet = bs4.dammit.chardet_dammi
    [all...]
test_tree.py 16 from bs4 import BeautifulSoup
17 from bs4.builder import (
21 from bs4.element import (
29 from bs4.testing import (
    [all...]
  /external/chromium-trace/catapult/third_party/py_vulcanize/py_vulcanize/
parse_html_deps.py 33 import bs4 namespace
63 if isinstance(cur, bs4.BeautifulSoup):
78 soupCopy = bs4.BeautifulSoup(html, 'html5lib')
79 soup = bs4.BeautifulSoup()
95 self._soup = bs4.BeautifulSoup(html, 'html5lib')
133 if isinstance(x, bs4.Doctype):
138 if isinstance(x, bs4.Declaration):
162 ns.append(bs4.NavigableString(html))
172 tmp = bs4.BeautifulSoup(html, 'html5lib').findAll('style')
181 text=lambda text: isinstance(text, bs4.Comment)
    [all...]
  /external/chromium-trace/catapult/third_party/beautifulsoup4/scripts/
demonstrate_parser_differences.py 19 from bs4 import BeautifulSoup
23 from bs4.builder import _lxml
29 from bs4.builder import _html5lib
  /system/media/camera/docs/
metadata-check-dependencies 110 python_check bs4 py27-beautifulsoup4 python-bs4
metadata_validate.py 35 from bs4 import BeautifulSoup
36 from bs4 import Tag
metadata_parser_xml.py 42 from bs4 import BeautifulSoup
43 from bs4 import NavigableString
metadata_helpers.py 26 import bs4 namespace
27 # Monkey-patch BS4. WBR element must not have an end tag.
28 bs4.builder.HTMLTreeBuilder.empty_element_tags.add("wbr")
    [all...]
  /external/chromium-trace/catapult/third_party/beautifulsoup4/bs4/
diagnose.py 5 import bs4 namespace
6 from bs4 import BeautifulSoup, __version__
7 from bs4.builder import builder_registry
174 print "BS4+%s parsed the markup in %.2fs." % (parser, b-a)
195 vars = dict(bs4=bs4, data=data, parser=parser)
196 cProfile.runctx('bs4.BeautifulSoup(data, parser)' , vars, vars, filename)
201 stats.print_stats('_html5lib|bs4', 50)
testing.py 7 from bs4 import BeautifulSoup
8 from bs4.element import (
16 from bs4.builder import HTMLParserTreeBuilder
__init__.py 16 http://www.crummy.com/software/BeautifulSoup/bs4/doc/
48 syntax_error = u'You are trying to run the Python 2 version of Beautiful Soup under Python 3. This will not work. You need to convert the code, either by installing it (`python setup.py install`) or by running 2to3 (`2to3 -w bs4`).'
88 "BS4 does not respect the convertEntities argument to the "
95 "BS4 does not respect the markupMassage argument to the "
102 "BS4 does not respect the smartQuotesTo argument to the "
109 "BS4 does not respect the selfClosingTags argument to the "
116 "BS4 does not respect the isHTML argument to the "
380 # Alias to make it easier to type import: 'from bs4 import _soup'
  /system/connectivity/shill/net/
byte_string_unittest.cc 107 ByteString bs4(string(kTest4), false);
108 EXPECT_EQ(strlen(kTest4), bs4.GetLength());
109 EXPECT_EQ(0, memcmp(kTest4, bs4.GetData(), bs4.GetLength()));
237 ByteString bs4 = ByteString::CreateFromHexString(kTest1HexString); local
238 EXPECT_EQ(kTest1HexString, bs4.HexEncode());
  /external/chromium-trace/catapult/third_party/beautifulsoup4/bs4/builder/
_htmlparser.py 27 from bs4.element import (
34 from bs4.dammit import EntitySubstitution, UnicodeDammit
36 from bs4.builder import (
163 "Python's built-in HTMLParser cannot parse the given document. This is not a bug in Beautiful Soup. The best solution is to install an external parser (lxml or html5lib), and use Beautiful Soup with that parser. See http://www.crummy.com/software/BeautifulSoup/bs4/doc/#installing-a-parser for help."))
_lxml.py 10 from bs4.element import Comment, Doctype, NamespacedAttribute
11 from bs4.builder import (
19 from bs4.dammit import EncodingDetector
_html5lib.py 6 from bs4.builder import (
12 from bs4.element import NamespacedAttribute
15 from bs4.element import (
88 # XXX This code is not covered by the BS4 tests.
__init__.py 4 from bs4.element import (
291 this_module = sys.modules['bs4.builder']
  /external/autotest/contrib/
watch_expensive_rpcs.py 11 from bs4 import BeautifulSoup
13 print 'Run `apt-get install python-bs4`'
  /external/chromium-trace/catapult/perf_insights/perf_insights_build/
pi_report_to_html.py 18 import bs4 namespace
56 soup = bs4.BeautifulSoup(html_contents)
  /external/chromium-trace/catapult/third_party/webtest/webtest/
forms.py 7 from bs4 import BeautifulSoup

Completed in 326 milliseconds

1 2