Skip to content

Commit

Permalink
Upgrading ural
Browse files Browse the repository at this point in the history
Adding support for youtube shorts in yt videos & url-parse
  • Loading branch information
Yomguithereal committed Feb 29, 2024
1 parent 2d8fd43 commit 1a4269e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions minet/cli/url_parse/url_parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
YoutubeVideo,
YoutubeUser,
YoutubeChannel,
YoutubeShort
)
from ural.twitter import parse_twitter_url, TwitterTweet, TwitterUser

Expand Down Expand Up @@ -121,6 +122,7 @@ def extract_standard_addendum(cli_args, url):
YoutubeVideo: "video",
YoutubeUser: "user",
YoutubeChannel: "channel",
YoutubeShort: "short"
}


Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ tenacity==8.2.1
trafilatura==1.7.0
typing_extensions>=4.3; python_version < '3.11'
twitwi==0.18.2
ural==1.2.3
ural==1.3.1
urllib3==1.26.16
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"tenacity>=8,<9",
"trafilatura>=1.7,<1.8",
"twitwi>=0.18.2,<0.19",
"ural>=1.2.3,<2",
"ural>=1.3.1,<2",
"urllib3>=1.26.16,<2",
],
extras_require={
Expand Down

0 comments on commit 1a4269e

Please sign in to comment.