|
|
@ -2,6 +2,7 @@ from .common import InfoExtractor
|
|
|
|
|
|
|
|
|
|
|
|
import re
|
|
|
|
import re
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class FYPTTIE(InfoExtractor):
|
|
|
|
class FYPTTIE(InfoExtractor):
|
|
|
|
_VALID_URL = r'https?://(?:stream\.|)fyptt\.to/(?P<id>[0-9a-zA-Z]+)(?:|/)'
|
|
|
|
_VALID_URL = r'https?://(?:stream\.|)fyptt\.to/(?P<id>[0-9a-zA-Z]+)(?:|/)'
|
|
|
|
_TESTS = [{
|
|
|
|
_TESTS = [{
|
|
|
@ -40,7 +41,7 @@ class FYPTTIE(InfoExtractor):
|
|
|
|
|
|
|
|
|
|
|
|
title = self._html_search_regex(r'<span class="fl-heading-text">(.+?)</span>', webpage, 'title')
|
|
|
|
title = self._html_search_regex(r'<span class="fl-heading-text">(.+?)</span>', webpage, 'title')
|
|
|
|
|
|
|
|
|
|
|
|
http_headers = {'Referer':'https://fyptt.to/'}
|
|
|
|
http_headers = {'Referer': 'https://fyptt.to/'}
|
|
|
|
|
|
|
|
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
'id': video_id,
|
|
|
|
'id': video_id,
|
|
|
|