Merge pull request #283 from Xuenew/test_pr

This commit is contained in:
Evil0ctal 2023-09-28 00:20:15 -07:00 committed by GitHub
commit 4d7b0aa79b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

3
.gitignore vendored
View File

@ -127,3 +127,6 @@ dmypy.json
# Pyre type checker
.pyre/
# pycharm
.idea

View File

@ -488,7 +488,7 @@ class Scraper:
s = crc32(url_part.encode())
json_url = "https://ib.365yg.com{}&s={}&nobase64=true".format(url_part, s)
return json_url
# 获取西瓜视频ID/Get xigua video ID
# 获取西瓜视频ID/Get xigua video ID cspr
async def get_ixigua_video_id(self, original_url: str) -> Union[str, None]:
"""
获取视频id