-
Notifications
You must be signed in to change notification settings - Fork 5
/
servicetypes.h
executable file
·21 lines (13 loc) · 1.62 KB
/
servicetypes.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef MOVGRAB_SERVICETYPES_H
#define MOVGRAB_SERVICETYPES_H
#include "common.h"
typedef enum {TYPE_NONE, TYPE_GENERIC, TYPE_YOUTUBE, TYPE_YOUTUBE_SHORT, TYPE_METACAFE, TYPE_DAILYMOTION, TYPE_BREAK_COM, TYPE_VIMEO, TYPE_TED, TYPE_REUTERS, TYPE_LIVELEAK, TYPE_PHOTOBUCKET,TYPE_WASHINGTONPOST,TYPE_CBSNEWS,TYPE_FRANCE24,TYPE_EURONEWS,TYPE_METATUBE,TYPE_GUARDIAN,TYPE_REDORBIT, TYPE_UCTV, TYPE_DOTSUB,TYPE_ASTRONOMYCOM, TYPE_DISCOVERY, TYPE_BLOOMBERG,TYPE_NATGEO,TYPE_SMH,TYPE_FUNNYORDIE,TYPE_EBAUMSWORLD,TYPE_GAMESTAR,TYPE_IMDB,TYPE_CHARLIEROSE,TYPE_STANFORD_OPENCLASS, TYPE_SCREENCAST_COM, TYPE_ROYALSOCIETY, TYPE_BITCHUTE,
/*Following ones are not real types, but used by internal processes */
TYPE_BREAK_STAGE2, TYPE_VIMEO_STAGE2, TYPE_VIMEO_STAGE3, TYPE_CLIPSHACK_STAGE2, TYPE_CLIPSHACK_STAGE3, TYPE_VIDEOEMO_STAGE2,TYPE_MYVIDO1_STAGE2, TYPE_REFERENCE, TYPE_REDORBIT_STAGE2, TYPE_ASTRONOMYCOM_STAGE2,TYPE_CONTAINERFILE, TYPE_GOOGLE_URL, TYPE_YOUTUBE_PLAYLIST, TYPE_ROYALSOCIETY_STAGE2, TYPE_REUTERS_STAGE2, TYPE_STANFORD_STAGE2, TYPE_IGN_STAGE2, TYPE_IMDB_STAGE2, TYPE_M3U8_STREAM, TYPE_CONTAINERFILE_M3U8, TYPE_CONTAINERFILE_PLS, TYPE_CONTAINERFILE_ASX} TDT;
extern char *DownloadTypes[], *DownloadNames[], *TestLinks[];
int IdentifyServiceType(const char *Path);
char *SiteSpecificPreprocessing(char *RetBuf, const char *Path, const char *Proto, const char *Server, int Port, const char *Doc, int *Type, char **Title, int *Post);
int GetNextURL(int Type, const char *Server, int Post, ListNode *Vars);
int ExtractItemInfo(STREAM *S, int Type, const char *URL, const char *Title, int Post);
int GrabMovie(const char *Path, int MovType);
#endif