Warning: session_start(): Session cannot be started after headers have already been sent in /home/tvrreohg/public_html/manga.php on line 13
3
6]3 @ s d Z dgZddlmZ yddlmZ W n2 ek
rX Z zG dd deZW Y ddZ[X nX ddlZddl Z ej
dd \ZZZ
edkoed koe
dkZedkoedkZedkoed
kZddlmZmZmZmZmZ ddlmZmZ dd
lmZmZmZ dZG dd deZG dd deZ edkred kre rddl!Z!e!j"dZ#e#e _#e!j"de!j$Z%e%e_%ddlm&Z&m'Z' dd Z(dd Z)e(e_(e)e_)dZdS )zCUse the HTMLParser library to parse HTML files that aren't too bad.HTMLParserTreeBuilder )
HTMLParser)HTMLParseErrorc @ s e Zd ZdS )r N)__name__
__module____qualname__ r r !/usr/lib/python3.6/_htmlparser.pyr s r N )CDataCommentDeclarationDoctypeProcessingInstruction)EntitySubstitution
UnicodeDammit)HTMLHTMLTreeBuilderSTRICTzhtml.parserc @ sp e Zd Zdd Zdd Zdd Zddd Zdd
dZdd
Zdd Z dd Z
dd Zdd Zdd Z
dd ZdS )BeautifulSoupHTMLParserc O s t j| f|| g | _d S )N)r __init__already_closed_empty_element)selfargskwargsr r r r 9 s z BeautifulSoupHTMLParser.__init__c C s t j| dS )ai In Python 3, HTMLParser subclasses must implement error(), although this
requirement doesn't appear to be documented.
In Python 2, HTMLParser implements error() as raising an exception.
In any event, this method is called only on very strange markup and our best strategy
is to pretend it didn't happen and keep going.
N)warningswarn)r msgr r r errorE s zBeautifulSoupHTMLParser.errorc C s | j ||dd}| j| d S )NF)handle_empty_element)handle_starttag
handle_endtag)r nameattrstagr r r handle_startendtagP s z*BeautifulSoupHTMLParser.handle_startendtagTc C sl i }x(|D ] \}}|d krd}|||<