(text)
| 91 | |
| 92 | |
| 93 | def 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 | |
| 102 | def fetchDynamicItem(dynamicItemData): |