diff options
Diffstat (limited to 'src/extractors/extractor.h')
-rw-r--r-- | src/extractors/extractor.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/extractors/extractor.h b/src/extractors/extractor.h index 347662b..9daf0ff 100644 --- a/src/extractors/extractor.h +++ b/src/extractors/extractor.h @@ -6,14 +6,14 @@ #include <stdbool.h> #include <stddef.h> -enum site { SITE_BILIBILI, SITE_HAOKAN }; +enum site { SITE_BILIBILI, SITE_HAOKAN, SITE_YOUKU }; typedef enum site site_t; typedef struct site_map { struct { char domain[SHRT_MAX]; site_t site; - } pairs[2]; + } pairs[3]; unsigned char size; } Site_map; @@ -25,7 +25,7 @@ typedef struct options { char *pagedata; } Options; -void options_cleanup(Options*); +void options_cleanup(Options *); int extract(void *); |