Did I find the right examples for you? yes no

All Samples(134)  |  Call(90)  |  Derive(1)  |  Import(43)
Represents a found HTML tag with its attributes and contents.

src/r/w/rwet-examples-HEAD/web/bs4/tests/test_tree.py   rwet-examples(Download)
    HTMLParserTreeBuilder,
)
from bs4.element import (
    CData,
    Doctype,
    def test_new_tag_creation(self):
        builder = builder_registry.lookup('html')()
        soup = self.soup("<body></body>", builder=builder)
        a = Tag(soup, builder, 'a')
        ol = Tag(soup, builder, 'ol')
    def test_insert_tag(self):
        builder = self.default_builder
        soup = self.soup(
            "<a><b>Find</b><c>lady!</c><d></d></a>", builder=builder)
        magic_tag = Tag(soup, builder, 'magictag')

src/t/r/translucent-HEAD/translucent/html.py   translucent(Download)
# -*- coding: utf-8 -*-
 
import bs4
from bs4.element import (Tag, NavigableString,
    EntitySubstitution, AttributeValueWithCharsetSubstitution)
class TranslucentTag(Tag):
 
    @property
    def indent(self):
        return '  '

src/n/c/ncnyt-0.3.0/nyt/article.py   ncnyt(Download)
import requests
import json
from bs4 import BeautifulSoup as bs
from bs4.element import NavigableString, Tag
import aalib

src/n/c/ncnyt-HEAD/nyt/article.py   ncnyt(Download)
import requests
import json
from bs4 import BeautifulSoup as bs
from bs4.element import NavigableString, Tag
import aalib

src/s/o/soup-strainer-HEAD/strainer/scorers.py   soup-strainer(Download)
 
from bs4 import BeautifulSoup
from bs4.element import Tag
import patterns
 

src/f/l/FlexGet-1.2.126/flexget/utils/imdb.py   FlexGet(Download)
import re
 
from bs4.element import Tag
 
from flexget.utils.soup import get_soup

src/r/o/robobrowser-0.2/robobrowser/helpers.py   robobrowser(Download)
import re
from bs4 import BeautifulSoup
from bs4.element import Tag
 
from robobrowser.compat import string_types, iteritems

src/r/o/robobrowser-0.2/robobrowser/browser.py   robobrowser(Download)
import requests
from bs4 import BeautifulSoup
from bs4.element import Tag
 
from robobrowser.compat import urlparse, string_types

src/p/y/pyrobot-0.1.0/pyrobot/helpers.py   pyrobot(Download)
import re
from bs4 import BeautifulSoup
from bs4.element import Tag
 
from pyrobot.compat import string_types, iteritems

src/p/y/pyrobot-0.1.0/pyrobot/browser.py   pyrobot(Download)
import requests
from bs4 import BeautifulSoup
from bs4.element import Tag
 
from pyrobot.compat import urlparse, string_types

  1 | 2 | 3 | 4 | 5  Next