Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spelling #27084

Merged
merged 25 commits into from
Nov 21, 2020
Merged

Spelling #27084

merged 25 commits into from
Nov 21, 2020

Conversation

jsoref
Copy link
Contributor

@jsoref jsoref commented Nov 19, 2020

Please follow the guide below

  • You will be asked some questions, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your pull request (like that [x])
  • Use Preview tab to see how your pull request will actually look like

Before submitting a pull request make sure you have:

In order to be accepted and merged into youtube-dl each piece of code must be in public domain or released under Unlicense. Check one of the following options:

  • I am the original author of this code and I am willing to release it under Unlicense
  • I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

  • Bug fix
  • Improvement
  • New extractor
  • New feature

Description of your pull request and other information

This PR corrects misspellings identified by the check-spelling action.

The misspellings have been reported at jsoref@d64bbf9#commitcomment-44321988

The action reports that the changes in this PR would make it happy: jsoref@5108019

Note: this PR does not include the action. If you're interested in running a spell check on every PR and push, that can be offered separately.

Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
@@ -37,7 +37,7 @@
"writeinfojson": true,
"writesubtitles": false,
"allsubtitles": false,
"listssubtitles": false,
"listsubtitles": false,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is scary

@@ -86,7 +86,7 @@ def _real_extract(self, url):
# return self._extract_via_api(kind, video_id)

# JSON api does not provide some audio formats (e.g. ogg) thus
# extractiong audio via webpage
# extracting audio via webpage
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unlike the changelog entries, this case is not extraction

@@ -2458,7 +2458,7 @@ def __init__(self, code=None, msg='Unknown error'):

# Parsing code and msg
if (self.code in (errno.ENOSPC, errno.EDQUOT)
or 'No space left' in self.msg or 'Disk quota excedded' in self.msg):
or 'No space left' in self.msg or 'Disk quota exceeded' in self.msg):
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code has moved a number of times since its introduction, but it was introduced with this spelling, and I can find no support on the internet for looking for this spelling.

I suspect it was never noticed because the preceding line is doing the real work.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That matches my correction:

#define EDQUOT          122     /* Quota exceeded */

Quota exceeded, not the code as is. Thanks, that's good confirmation for this change

@dstftw dstftw merged commit 71ddc22 into ytdl-org:master Nov 21, 2020
@jsoref jsoref deleted the spelling branch November 22, 2020 00:20
ThirumalaiK pushed a commit to ThirumalaiK/youtube-dl that referenced this pull request Jan 28, 2021
* spelling: authorization

Signed-off-by: Josh Soref <[email protected]>

* spelling: brightcove

Signed-off-by: Josh Soref <[email protected]>

* spelling: creation

Signed-off-by: Josh Soref <[email protected]>

* spelling: exceeded

Signed-off-by: Josh Soref <[email protected]>

* spelling: exception

Signed-off-by: Josh Soref <[email protected]>

* spelling: extension

Signed-off-by: Josh Soref <[email protected]>

* spelling: extracting

Signed-off-by: Josh Soref <[email protected]>

* spelling: extraction

Signed-off-by: Josh Soref <[email protected]>

* spelling: frontline

Signed-off-by: Josh Soref <[email protected]>

* spelling: improve

Signed-off-by: Josh Soref <[email protected]>

* spelling: length

Signed-off-by: Josh Soref <[email protected]>

* spelling: listsubtitles

Signed-off-by: Josh Soref <[email protected]>

* spelling: multimedia

Signed-off-by: Josh Soref <[email protected]>

* spelling: obfuscated

Signed-off-by: Josh Soref <[email protected]>

* spelling: partitioning

Signed-off-by: Josh Soref <[email protected]>

* spelling: playlist

Signed-off-by: Josh Soref <[email protected]>

* spelling: playlists

Signed-off-by: Josh Soref <[email protected]>

* spelling: restriction

Signed-off-by: Josh Soref <[email protected]>

* spelling: services

Signed-off-by: Josh Soref <[email protected]>

* spelling: split

Signed-off-by: Josh Soref <[email protected]>

* spelling: srmediathek

Signed-off-by: Josh Soref <[email protected]>

* spelling: support

Signed-off-by: Josh Soref <[email protected]>

* spelling: thumbnail

Signed-off-by: Josh Soref <[email protected]>

* spelling: verification

Signed-off-by: Josh Soref <[email protected]>

* spelling: whitespaces

Signed-off-by: Josh Soref <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants