16 lines
383 B
Python
16 lines
383 B
Python
|
|
from anime_downloader.extractors.base_extractor import BaseExtractor
|
|
from anime_downloader.sites import helpers
|
|
import re
|
|
|
|
|
|
class Uqload(BaseExtractor):
|
|
def _get_data(self):
|
|
resp = helpers.get(self.url).text
|
|
link = re.search('sources:\s+?\["(.*?mp4)"\]', resp).group(1)
|
|
|
|
return {
|
|
'stream_url': link,
|
|
'referer': self.url
|
|
}
|