Skip to content

Commit

Permalink
Bump 24ur-api, support more 24ur sub-sites
Browse files Browse the repository at this point in the history
  • Loading branch information
amadejkastelic committed Aug 30, 2024
1 parent 3bd5285 commit 101342c
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pymemcache = "==4.0.0"
"discord-oauth2.py" = "==1.2.1"
twitch-dl = "==2.3.1"
pydantic = "==2.8.2"
"24ur-api[download]" = "==0.1.4"
"24ur-api[video]" = "==0.1.5"

[dev-packages]
black = "==24.8.0"
Expand Down
19 changes: 10 additions & 9 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 10 additions & 1 deletion bot/downloader/twenty4ur/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,16 @@


class Twenty4UrClientSingleton(base.BaseClientSingleton):
DOMAINS = ['24ur.com']
DOMAINS = [
'24ur.com',
'zadovoljna.si',
'bibaleze.si',
'vizita.si',
'cekin.si',
'moskisvet.com',
'dominvrt.si',
'okusno.je',
]
_CONFIG_SCHEMA = config.Twenty4UrConfig

@classmethod
Expand Down

0 comments on commit 101342c

Please sign in to comment.