diff options
author | Mole Shang <[email protected]> | 2023-08-09 17:33:03 +0800 |
---|---|---|
committer | Mole Shang <[email protected]> | 2023-08-09 17:33:03 +0800 |
commit | 9d44f64a23552d420abefb8c952fec34e49f4ea0 (patch) | |
tree | 2853b57616af6400b921b98cbf79952c3059d501 /src/extractors | |
parent | c636d2e78e464246b3dd7bc8ce0b8e5d8a5bf7a6 (diff) | |
download | hinata-9d44f64a23552d420abefb8c952fec34e49f4ea0.tar.gz hinata-9d44f64a23552d420abefb8c952fec34e49f4ea0.tar.bz2 hinata-9d44f64a23552d420abefb8c952fec34e49f4ea0.zip |
Revert "process_url: always match substrings instead of comparing"
Target video files can also be under the domain, revert the commit for
now.
Needs further implemention.
This reverts commit 9c2b0b39d73da02bb9d255e9dc7f81db200930b1.
Diffstat (limited to 'src/extractors')
-rw-r--r-- | src/extractors/extractor.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/extractors/extractor.c b/src/extractors/extractor.c index 5317945..ccc1ec6 100644 --- a/src/extractors/extractor.c +++ b/src/extractors/extractor.c @@ -6,7 +6,8 @@ #include "haokan.h" Site_map site_map = { - {{"bilibili.com", SITE_BILIBILI}, {"haokan.baidu.com", SITE_HAOKAN}}, 2}; + {{"www.bilibili.com", SITE_BILIBILI}, {"haokan.baidu.com", SITE_HAOKAN}}, + 2}; void options_cleanup(Options *options) { free_and_nullify(options->URL); |