From f4ec55b00e5b8743727b138d06f6ffadadd49579 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Sat, 31 Jul 2021 09:34:46 +1000 Subject: [PATCH] docs: Fix a few typos There are small typos in: - src/you_get/extractors/flickr.py - src/you_get/extractors/mtv81.py - src/you_get/extractors/qingting.py Fixes: - Should read `several` rather than `serveral`. - Should read `channel` rather than `chaanel`. - Should read `approach` rather than `approch`. --- src/you_get/extractors/flickr.py | 2 +- src/you_get/extractors/mtv81.py | 2 +- src/you_get/extractors/qingting.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/you_get/extractors/flickr.py b/src/you_get/extractors/flickr.py index 2535dd1c..79fca4ff 100644 --- a/src/you_get/extractors/flickr.py +++ b/src/you_get/extractors/flickr.py @@ -73,7 +73,7 @@ def get_api_key(page): match = match1(page, pattern_inline_api_key) # this happens only when the url points to a gallery page # that contains no inline api_key(and never makes xhr api calls) - # in fact this might be a better approch for getting a temporary api key + # in fact this might be a better approach for getting a temporary api key # since there's no place for a user to add custom information that may # misguide the regex in the homepage if not match: diff --git a/src/you_get/extractors/mtv81.py b/src/you_get/extractors/mtv81.py index b92f74bc..ef432159 100644 --- a/src/you_get/extractors/mtv81.py +++ b/src/you_get/extractors/mtv81.py @@ -28,7 +28,7 @@ def mtv81_download(url, output_dir='.', merge=True, info_only=False, **kwargs): # # rtmpdump -r 'rtmpe://cp30865.edgefcs.net/ondemand/mtviestor/_!/intlod/MTVInternational/MBUS/GeoLocals/00JP/VIAMTVI/PYC/201304/7122HVAQ4/00JPVIAMTVIPYC7122HVAQ4_640x_360_1200_m30.mp4' -o "title.mp4" --swfVfy http://media.mtvnservices.com/player/prime/mediaplayerprime.1.10.8.swf # - # because rtmpdump is unstable,may try serveral times + # because rtmpdump is unstable,may try several times # if not info_only: # import pdb diff --git a/src/you_get/extractors/qingting.py b/src/you_get/extractors/qingting.py index 9859d4be..8dd1b14f 100644 --- a/src/you_get/extractors/qingting.py +++ b/src/you_get/extractors/qingting.py @@ -10,7 +10,7 @@ __all__ = ['qingting_download_by_url'] class Qingting(VideoExtractor): # every resource is described by its channel id and program id - # so vid is tuple (chaanel_id, program_id) + # so vid is tuple (channel_id, program_id) name = 'Qingting' stream_types = [