Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apify/crawlee-python
/ from_xml_string
Method
from_xml_string
src/crawlee/_utils/sitemap.py:450–451 ·
view source on GitHub ↗
(cls, content: str)
Source
from the content-addressed store, hash-verified
448
449
@classmethod
450
async
def
from_xml_string(cls, content: str) -> Sitemap:
451
return
await cls.parse([SitemapSource(type=
'raw'
, content=content)])
452
453
@classmethod
454
async
def
parse(
Callers
1
test_sitemap_from_string
Function · 0.80
Calls
2
SitemapSource
Class · 0.85
parse
Method · 0.45
Tested by
1
test_sitemap_from_string
Function · 0.64