Update HBMAME github site, add support for Demul, Kawaks, FinalBurnNEO & Raine sets.

This commit is contained in:
2023-12-31 19:57:13 +00:00
parent b9556506a5
commit 12aa0289a9

View File

@ -17,6 +17,10 @@ Basically what it does is:
Supported Torrents: Supported Torrents:
* MAME * MAME
* HBMAME * HBMAME
* Demul
* Kawaks
* FBNeo
* Raine
Work in progress… Work in progress…
* TODO: implement some error handling * TODO: implement some error handling
@ -121,7 +125,11 @@ def fetch_remote_torrents():
logging.info('Opening PleasureDome github feed') logging.info('Opening PleasureDome github feed')
pdurls = [ pdurls = [
'https://pleasuredome.github.io/pleasuredome/mame/index.html', 'https://pleasuredome.github.io/pleasuredome/mame/index.html',
'https://pleasuredome.github.io/pleasuredome/hbmame/index.html' 'https://pleasuredome.github.io/pleasuredome/nonmame/hbmame/index.html',
'https://pleasuredome.github.io/pleasuredome/nonmame/demul/index.html',
'https://pleasuredome.github.io/pleasuredome/nonmame/fbneo/index.html',
'https://pleasuredome.github.io/pleasuredome/nonmame/kawaks/index.html',
'https://pleasuredome.github.io/pleasuredome/nonmame/raine/index.html'
] ]
for url in pdurls: for url in pdurls:
page = get(url) page = get(url)
@ -304,6 +312,10 @@ if __name__ == '__main__':
regexps = [ regexps = [
re.compile(r'(?<=MAME )[\d.]+'), re.compile(r'(?<=MAME )[\d.]+'),
re.compile(r'(?<=HBMAME )[\d.]+'), re.compile(r'(?<=HBMAME )[\d.]+'),
re.compile(r'(?<=Demul )[\d.]+'),
re.compile(r'(?<=Kawaks )[\d.]+'),
re.compile(r'(?<=FBNeo )[\d.]+'),
re.compile(r'(?<=Raine )[\d.]+'),
] ]
config = open_config_file() config = open_config_file()
torrents = defaultdict(dict) torrents = defaultdict(dict)