projects
/
youtube-dl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[extractor/generic] Clarify comment
[youtube-dl]
/
youtube_dl
/
extractor
/
primesharetv.py
diff --git
a/youtube_dl/extractor/primesharetv.py
b/youtube_dl/extractor/primesharetv.py
index 94c9fb2cb29c33cb4d7353d468f36fec32e75593..304359dc5b189b8ce27c967c2d369b26db334532 100644
(file)
--- a/
youtube_dl/extractor/primesharetv.py
+++ b/
youtube_dl/extractor/primesharetv.py
@@
-1,7
+1,5
@@
from __future__ import unicode_literals
from __future__ import unicode_literals
-import re
-
from .common import InfoExtractor
from ..compat import (
compat_urllib_parse,
from .common import InfoExtractor
from ..compat import (
compat_urllib_parse,
@@
-31,7
+29,7
@@
class PrimeShareTVIE(InfoExtractor):
if '>File not exist<' in webpage:
raise ExtractorError('Video %s does not exist' % video_id, expected=True)
if '>File not exist<' in webpage:
raise ExtractorError('Video %s does not exist' % video_id, expected=True)
- fields = self._
form_
hidden_inputs(webpage)
+ fields = self._hidden_inputs(webpage)
headers = {
'Referer': url,
headers = {
'Referer': url,