Files
CollectMangaInfo/DataClass.py
Lee Young Hoon cc02151899 utility class added
자료 저장 구조 고민중...
2024-04-08 01:33:15 +09:00

48 lines
910 B
Python

class MangaMetaInfo:
title = ""
url = ""
Series = ""
artists = []
Tags = []
fileurl = ""
galID = ""
def AddArtist(self, strArtist):
self.artists.append(strArtist)
def AddTag(self, strTag):
self.tags.append(strTag)
class SeriesInfo:
strSeries = ""
strUrl = ""
def __init__(self, series, url):
self.strSeries = series
self.strUrl = url
class TypeInfo:
strTyep = ""
strUrl = ""
def __init__(self, strType, url):
self.strTyep = strType
self.strUrl = url
class ArtistInfo:
strArtist = ""
strUrl = ""
def __init__(self, artist, url):
self.strArtist = artist
self.strUrl = url
class TagIngo:
strTag = ""
strUrl = ""
def __init__(self, tag, url):
self.strTag = tag
self.strUrl = url