added a way to down invalid items
This commit is contained in:
parent
bfae5ec55e
commit
3a0674068a
@ -172,6 +172,9 @@ def initialize_steam(master):
|
|||||||
@if_internet_available
|
@if_internet_available
|
||||||
def valid_id(workshop_id):
|
def valid_id(workshop_id):
|
||||||
data = item_steam_api(workshop_id)
|
data = item_steam_api(workshop_id)
|
||||||
|
if check_config("skip_valid", "no") == "skip":
|
||||||
|
if data:
|
||||||
|
return True
|
||||||
if "consumer_app_id" in data['response']['publishedfiledetails'][0]:
|
if "consumer_app_id" in data['response']['publishedfiledetails'][0]:
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user