Module ImportFrom alias ImportFrom alias identifier ImportFrom alias ImportFrom alias Assign NameStore Str ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str keyword Str keyword Str keyword Str keyword TupleLoad Str NameLoad keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Call NameLoad Str keyword TupleLoad Str Lambda arguments args NameParam defaults Call AttributeLoad Str attr Call AttributeLoad NameLoad attr keyword TupleLoad Str NameLoad keyword Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str keyword Str keyword Call NameLoad Str keyword Str keyword Str keyword Str keyword Call NameLoad Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad Str decorator_list decorator_list
N/A json loads weblib.structured Structure x test.util build_grab test.util BaseGrabTestCase N/A XML 
    <issue index="2">
        <title>XML today</title>
        <date>12.09.98</date>
        <about>XML</about>
        <home-url>www.j.ru/issues/</home-url>
        <number>448</number>
        <detail>
            <description>

                issue 2
                detail description

            </description>
            <number>445</number>
        </detail>
        <articles>
            <article ID="3">
                <title>Issue overview</title>
                <url>/article1</url>
                <hotkeys>
                    <hotkey>language</hotkey>
                    <hotkey>marckup</hotkey>
                    <hotkey>hypertext</hotkey>
                </hotkeys>
                <article-finished/>
            </article>
            <article>
                <title>Latest reviews</title>
                <url>/article2</url>
                <author ID="3"/>
                <hotkeys>
                    <hotkey/>
                </hotkeys>
            </article>
            <article ID="4">
                <title/>
                <url/>
                <hotkeys/>
            </article>
        </articles>
    </issue>
 StructuredExtensionTest N/A BaseGrabTestCase N/A setUp N/A N/A self N/A N/A N/A N/A self g N/A build_grab document_body XML N/A test_1 N/A N/A self N/A N/A N/A result N/A N/A N/A N/A self g doc structure //issue title ./title/text() date ./date/text() about ./about/text() number N/A ./number/text() int home_url ./home-url/text() N/A N/A N/A self assertEqual result N/A loads 
                [
                    {
                        "date": "12.09.98",
                        "about": "XML",
                        "home_url": "www.j.ru/issues/",
                        "number": 448,
                        "title": "XML today"
                    }
                ]
             N/A test_2 N/A N/A self N/A N/A N/A result N/A N/A N/A N/A self g doc structure //issue N/A x ./detail description N/A ./description/text() N/A N/A N/A item N/A N/A N/A join N/A N/A item split detail_number N/A ./number/text() int title ./title/text() date ./date/text() N/A N/A N/A self assertEqual result N/A loads 
                [
                    {
                        "detail_number": 445,
                        "date": "12.09.98",
                        "description": "issue 2 detail description",
                        "title": "XML today"
                    }
                ]
             N/A test_3 N/A N/A self N/A N/A N/A result N/A N/A N/A N/A self g doc structure //issue home_url ./home-url/text() articles N/A x ./articles/article id ./@id title ./title/text() url ./url/text() hotkeys N/A x ./hotkeys hotkey ./hotkey/text() N/A N/A N/A self assertEqual result N/A loads 
                [
                    {
                        "articles": [
                            {
                                "url": "/article1",
                                "id": "3",
                                "hotkeys": [
                                    {
                                        "hotkey": "language"
                                    }
                                ],
                                "title": "Issue overview"
                            },
                            {
                                "url": "/article2",
                                "id": null,
                                "hotkeys": [
                                    {
                                        "hotkey": null
                                    }
                                ],
                                "title": "Latest reviews"
                            },
                            {
                                "url": null,
                                "id": "4",
                                "hotkeys": [
                                    {
                                        "hotkey": null
                                    }
                                ],
                                "title": null
                            }
                        ],
                        "home_url": "www.j.ru/issues/"
                    }
                ]
             N/A N/A