Skip to content

Commit

Permalink
Search in all folders
Browse files Browse the repository at this point in the history
  • Loading branch information
AbirHasan2005 authored Oct 16, 2021
1 parent 1b99a13 commit 55ea5b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/search_video.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from core.login import pdisk_login

user_agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36"
search_api = "https://www.pdisk.net/api/video/search-my-video?dir_id=0&item_id=&title={}&pageSize=10&pageNo=1&desc=&status=&sortField=ctime&sortAsc=0&needDirName=true"
search_api = "https://www.pdisk.net/api/video/search-my-video?dir_id=-1&item_id=&title={}&pageSize=10&pageNo=1&desc=&status=&sortField=ctime&sortAsc=0&needDirName=true"


async def search_pdisk_videos(query: str, username: str, password: str) -> Union[dict, Exception]:
Expand Down

0 comments on commit 55ea5b4

Please sign in to comment.