Skip to content

Commit

Permalink
version 0.13.1
Browse files Browse the repository at this point in the history
  • Loading branch information
HFrost0 committed Feb 5, 2023
1 parent 1b34fc6 commit b6a346c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bilix/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
bilix inspired by w
"""

__version__ = "0.12.2"
__version__ = "0.13.1"
__title__ = "bilix"
__url__ = "https://github.com/HFrost0/bilix"
__author__ = "HFrost0"
Expand Down
2 changes: 1 addition & 1 deletion bilix/download/base_downloader_m3u8.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,5 +150,5 @@ def handle(kwargs):
speed_limit=speed_limit)
cors = []
for i, key in enumerate(kwargs['keys']):
cors.append(d.get_m3u8_video(key, f"{i}.ts"))
cors.append(d.get_m3u8_video(key, str(i)))
return d, asyncio.gather(*cors)
2 changes: 1 addition & 1 deletion bilix/download/downloader_cctv.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ async def get_series(self, url: str, quality=0, hierarchy=True):
hierarchy = self._make_hierarchy_dir(hierarchy, title)
await asyncio.gather(*[self.get_video(pid, quality, hierarchy if hierarchy else '') for pid in pids])

async def get_video(self, url_or_pid: str, quality=0, hierarchy=''):
async def get_video(self, url_or_pid: str, quality=0, hierarchy: str = ''):
if url_or_pid.startswith('http'):
pid, _, _ = await api.get_id(self.client, url_or_pid)
else:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def get_packages(package):
"console_scripts": "bilix=bilix.__main__:main",
},
install_requires=[
"httpx[http2]>=0.22.0",
"httpx[http2]>=0.23.3",
'anyio',
'aiofiles>=0.8.0',
'rich',
Expand Down

0 comments on commit b6a346c

Please sign in to comment.