from ..common import general_m3u8_extractor

Import the definition of __general_m3u8_extractor()__ for the function call on line 64...

flake8 testing of https://github.com/soimort/you-get on Python 3.6.3

$ __flake8 . --count --select=E901,E999,F821,F822,F823 --show-source --statistics__
```
./src/you_get/extractors/longzhu.py:63:20: F821 undefined name 'general_m3u8_extractor'
            urls = general_m3u8_extractor(real_url)
                   ^
1     F821 undefined name 'general_m3u8_extractor'
```
This commit is contained in:
cclauss 2018-03-26 12:05:12 +02:00 committed by GitHub
parent d3719ed4b6
commit 6e5e385620
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,6 +5,7 @@ __all__ = ['longzhu_download']
import json import json
from ..common import ( from ..common import (
get_content, get_content,
general_m3u8_extractor,
match1, match1,
print_info, print_info,
download_urls, download_urls,
@ -70,4 +71,4 @@ def longzhu_download(url, output_dir = '.', merge=True, info_only=False, **kwarg
site_info = 'longzhu.com' site_info = 'longzhu.com'
download = longzhu_download download = longzhu_download
download_playlist = playlist_not_supported('longzhu') download_playlist = playlist_not_supported('longzhu')