Streams¶
Built-in Streams¶
-
class
Generic
(*args, **kwargs)[source]¶ Bases:
grobber.anime.models.stream.Stream
-
PRIORITY
= 0¶
-
coroutine
can_handle
(req)[source]¶ Check whether this Stream class can handle the request.
This operation shouldn’t actually perform any expensive checks. It should merely check whether it’s even possible for this Stream to extract anything from the request.
The default implementation compares the Stream.HOST variable to the host of the request url (www. is stripped!).
-
external
¶ Indicate whether the links provided by this Stream may be used externally.
- Return type
- Returns
true of the links may be used externally, false otherwise
-
-
class
Mp4Upload
(*args, **kwargs)[source]¶ Bases:
grobber.anime.models.stream.Stream
-
ATTRS
= ('player_data',)¶
-
EXPIRE_TIME
= 3600¶
-
HOST
= 'mp4upload.com'¶
-
external
¶ Indicate whether the links provided by this Stream may be used externally.
- Return type
- Returns
true of the links may be used externally, false otherwise
-
player_data
¶ - Return type
PlayerData
-
-
class
Openload
(*args, **kwargs)[source]¶ Bases:
grobber.anime.models.stream.Stream
-
ATTRS
= ('player_data',)¶
-
HOST
= ['openload.co', 'oload.tv', 'oload.download']¶
-
PRIORITY
= 5¶
-
external
¶ Indicate whether the links provided by this Stream may be used externally.
- Return type
- Returns
true of the links may be used externally, false otherwise
-
-
class
Streamango
(*args, **kwargs)[source]¶ Bases:
grobber.anime.models.stream.Stream
-
HOST
= 'streamango.com'¶
-
external
¶ Indicate whether the links provided by this Stream may be used externally.
- Return type
- Returns
true of the links may be used externally, false otherwise
-
-
class
Vidstreaming
(*args, **kwargs)[source]¶ Bases:
grobber.anime.models.stream.Stream
-
ATTRS
= ('player_data',)¶
-
HOST
= 'vidstreaming.io'¶
-
external
¶ Indicate whether the links provided by this Stream may be used externally.
- Return type
- Returns
true of the links may be used externally, false otherwise
-