Skip to content

Commit

Permalink
Merge pull request #1635 from bagasf2002/patch-2
Browse files Browse the repository at this point in the history
Change Api & Domain Filelions
  • Loading branch information
anasty17 authored Dec 16, 2023
2 parents 2f2793b + 113d4a0 commit d7089ff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ Fill up rest of the fields. Meaning of each field is discussed below. **NOTE**:
- `STATUS_LIMIT`: Limit the no. of tasks shown in status message with buttons. Default is `10`. **NOTE**: Recommended limit is `4` tasks. `Int`
- `EXTENSION_FILTER`: File extensions that won't upload/clone. Separate them by space. `Str`
- `INCOMPLETE_TASK_NOTIFIER`: Get incomplete task messages after restart. Require database and superGroup. Default is `False`. `Bool`
- `FILELION_API`: Filelion api key to mirror Filelion links. Get it from [Filelion](https://filelions.com/?op=my_account). `str`
- `FILELION_API`: Filelion api key to mirror Filelion links. Get it from [Filelion](https://vidhide.com/?op=my_account). `str`
- `STREAMWISH_API`: Streamwish api key to mirror Streamwish links. Get it from [Streamwish](https://streamwish.com/?op=my_account). `str`
- `YT_DLP_OPTIONS`: Default yt-dlp options. Check all possible options [HERE](https://github.com/yt-dlp/yt-dlp/blob/master/yt_dlp/YoutubeDL.py#L184) or use this [script](https://t.me/mltb_official_channel/177) to convert cli arguments to api options. Format: key:value|key:value|key:value. Add `^` before integer or float, some numbers must be numeric and some string. `str`
- Example: "format:bv*+mergeall[vcodec=none]|nocheckcertificate:True"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@ def direct_link_generator(link):
elif any(
x in domain
for x in [
"filelions.co",
"vidhide.com",
"vidhidepro.com",
"filelions.site",
"filelions.live",
"filelions.to",
Expand Down Expand Up @@ -1321,7 +1322,8 @@ def filelions_and_streamwish(url):
if any(
x in hostname
for x in [
"filelions.co",
"vidhide.com",
"vidhidepro.com",
"filelions.live",
"filelions.to",
"filelions.site",
Expand All @@ -1330,7 +1332,7 @@ def filelions_and_streamwish(url):
]
):
apiKey = config_dict["FILELION_API"]
apiUrl = "https://api.filelions.co"
apiUrl = "https://vidhideapi.com"
elif any(
x in hostname
for x in [
Expand Down

0 comments on commit d7089ff

Please sign in to comment.