Did I find the right examples for you? yes no

All Samples(86)  |  Call(28)  |  Derive(0)  |  Import(58)
A generic stand-in for the value of a meta tag's 'charset' attribute.

When Beautiful Soup parses the markup '<meta charset="utf8">', the
value of the 'charset' attribute will be one of these objects.

src/h/u/hue-HEAD/desktop/core/ext-py/requests-2.0.0/requests/packages/bs4/tests/test_soup.py   hue(Download)
    BeautifulStoneSoup,
)
from bs4.element import (
    CharsetMetaAttributeValue,
    ContentMetaAttributeValue,
    def test_content_meta_attribute_value(self):
        value = CharsetMetaAttributeValue("euc-jp")
        self.assertEqual("euc-jp", value)
        self.assertEqual("euc-jp", value.original_value)
        self.assertEqual("utf8", value.encode("utf8"))

src/a/l/alfred-workflows-scientific-HEAD/reference-importer/src/bs4/tests/test_soup.py   alfred-workflows-scientific(Download)
    BeautifulStoneSoup,
)
from bs4.element import (
    CharsetMetaAttributeValue,
    ContentMetaAttributeValue,
    def test_content_meta_attribute_value(self):
        value = CharsetMetaAttributeValue("euc-jp")
        self.assertEqual("euc-jp", value)
        self.assertEqual("euc-jp", value.original_value)
        self.assertEqual("utf8", value.encode("utf8"))

src/a/l/alfred-workflows-scientific-HEAD/numpy-search/src/bs4/tests/test_soup.py   alfred-workflows-scientific(Download)
    BeautifulStoneSoup,
)
from bs4.element import (
    CharsetMetaAttributeValue,
    ContentMetaAttributeValue,
    def test_content_meta_attribute_value(self):
        value = CharsetMetaAttributeValue("euc-jp")
        self.assertEqual("euc-jp", value)
        self.assertEqual("euc-jp", value.original_value)
        self.assertEqual("utf8", value.encode("utf8"))

src/a/l/AlfredWorkflow.com-HEAD/Sources/Workflows/AlfredWorkflow.com-Search/bs4/tests/test_soup.py   AlfredWorkflow.com(Download)
    BeautifulStoneSoup,
)
from bs4.element import (
    CharsetMetaAttributeValue,
    ContentMetaAttributeValue,
    def test_content_meta_attribute_value(self):
        value = CharsetMetaAttributeValue("euc-jp")
        self.assertEqual("euc-jp", value)
        self.assertEqual("euc-jp", value.original_value)
        self.assertEqual("utf8", value.encode("utf8"))

src/o/p/OpenColorado-Tools-and-Utilities-HEAD/Scripts/Harvest/Drcog/bs4/tests/test_soup.py   OpenColorado-Tools-and-Utilities(Download)
    BeautifulStoneSoup,
)
from bs4.element import (
    CharsetMetaAttributeValue,
    ContentMetaAttributeValue,
    def test_content_meta_attribute_value(self):
        value = CharsetMetaAttributeValue("euc-jp")
        self.assertEqual("euc-jp", value)
        self.assertEqual("euc-jp", value.original_value)
        self.assertEqual("utf8", value.encode("utf8"))

src/x/b/xbmctorrent-HEAD/resources/site-packages/bs4/tests/test_soup.py   xbmctorrent(Download)
    BeautifulStoneSoup,
)
from bs4.element import (
    CharsetMetaAttributeValue,
    ContentMetaAttributeValue,
    def test_content_meta_attribute_value(self):
        value = CharsetMetaAttributeValue("euc-jp")
        self.assertEqual("euc-jp", value)
        self.assertEqual("euc-jp", value.original_value)
        self.assertEqual("utf8", value.encode("utf8"))

src/p/o/pourover-HEAD/buster/lib/bs4/tests/test_soup.py   pourover(Download)
    BeautifulStoneSoup,
)
from bs4.element import (
    CharsetMetaAttributeValue,
    ContentMetaAttributeValue,
    def test_content_meta_attribute_value(self):
        value = CharsetMetaAttributeValue("euc-jp")
        self.assertEqual("euc-jp", value)
        self.assertEqual("euc-jp", value.original_value)
        self.assertEqual("utf8", value.encode("utf8"))

src/g/u/Guitarra-Vas-a-Llorar-HEAD/otros/db-musica/bs4/tests/test_soup.py   Guitarra-Vas-a-Llorar(Download)
    BeautifulStoneSoup,
)
from bs4.element import (
    CharsetMetaAttributeValue,
    ContentMetaAttributeValue,
    def test_content_meta_attribute_value(self):
        value = CharsetMetaAttributeValue("euc-jp")
        self.assertEqual("euc-jp", value)
        self.assertEqual("euc-jp", value.original_value)
        self.assertEqual("utf8", value.encode("utf8"))

src/l/i/livepythonconsole-app-engine-HEAD/boilerplate/external/bs4/tests/test_soup.py   livepythonconsole-app-engine(Download)
    BeautifulStoneSoup,
)
from bs4.element import (
    CharsetMetaAttributeValue,
    ContentMetaAttributeValue,
    def test_content_meta_attribute_value(self):
        value = CharsetMetaAttributeValue("euc-jp")
        self.assertEqual("euc-jp", value)
        self.assertEqual("euc-jp", value.original_value)
        self.assertEqual("utf8", value.encode("utf8"))

src/k/i/KindleEar-HEAD/lib/bs4/tests/test_soup.py   KindleEar(Download)
    BeautifulStoneSoup,
)
from bs4.element import (
    CharsetMetaAttributeValue,
    ContentMetaAttributeValue,
    def test_content_meta_attribute_value(self):
        value = CharsetMetaAttributeValue("euc-jp")
        self.assertEqual("euc-jp", value)
        self.assertEqual("euc-jp", value.original_value)
        self.assertEqual("utf8", value.encode("utf8"))

  1 | 2 | 3 | 4 | 5 | 6  Next