Skip to content

Commit

Permalink
added a way to down invalid items
Browse files Browse the repository at this point in the history
  • Loading branch information
faroukbmiled committed Oct 5, 2023
1 parent bfae5ec commit 3a06740
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions boiiiwd_package/src/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,9 @@ def initialize_steam(master):
@if_internet_available
def valid_id(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]:
return True
else:
Expand Down

0 comments on commit 3a06740

Please sign in to comment.