MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / parseDynamicItemString

Function parseDynamicItemString

service/port/muta.py:93–99  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

91
92
93def parseDynamicItemString(text):
94 m = re.search(r'<url=showinfo:(?P<typeid>\d+)//(?P<itemid>\d+)>.+</url>', text)
95 if m:
96 typeID = int(m.group('typeid'))
97 itemID = int(m.group('itemid'))
98 return typeID, itemID
99 return None
100
101
102def fetchDynamicItem(dynamicItemData):

Callers 1

importAutoMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected