mirror of
https://github.com/CoolnsX/dra-cla.git
synced 2025-12-20 07:15:25 +05:30
Merge pull request #12 from fengbainuo/dev
updated to get base_url dynamically
This commit is contained in:
6
dra-cla
6
dra-cla
@@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
VERSION="2.2.1"
|
VERSION="2.2.2"
|
||||||
|
|
||||||
#######################
|
#######################
|
||||||
# AUXILIARY FUNCTIONS #
|
# AUXILIARY FUNCTIONS #
|
||||||
@@ -460,7 +460,9 @@ else
|
|||||||
dep_ch "aria2c" "ffmpeg"
|
dep_ch "aria2c" "ffmpeg"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
base_url="https://asianhd1.com"
|
# Get the current working URL
|
||||||
|
base_url=$(curl -Ls -o /dev/null -w %{url_effective} https://asianembed.io)
|
||||||
|
|
||||||
case $scrape in
|
case $scrape in
|
||||||
query)
|
query)
|
||||||
if [ -z "$*" ]; then
|
if [ -z "$*" ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user