-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathinput_formats.py
More file actions
23 lines (21 loc) · 829 Bytes
/
Copy pathinput_formats.py
File metadata and controls
23 lines (21 loc) · 829 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
"""Scrape each format_source key from the sources specified in the Iterable value.
The order in the Iterable gives priority: Decks with the same name will be scraped by the second source, but not saved.
"""
from __future__ import annotations
from typing import Iterable
from MtgScraper import FormatName, MtgSources
formats_source: dict[FormatName, Iterable[MtgSources]] = {
'Standard': ('MtgGoldfish', 'MtgaZone',),
'Alchemy': ('MtgGoldfish',),
'Timeless': ('MtgaZone',),
'Historic': ('MtgaZone',),
'Brawl': ('MtgGoldfish', ),
# 'Historic Brawl': ('Aetherhub', ),
'Pioneer': ('MtgGoldfish',),
'Modern': ('MtgGoldfish',),
'Legacy': ('MtgGoldfish',),
'Vintage': ('MtgGoldfish',),
'Pauper': ('MtgGoldfish',),
'Commander': ('MtgGoldfish',),
'Duel Commander': ('MtgGoldfish',)
}