21 Commits

Author SHA1 Message Date
Lesmiscore
8a9198d0a9 Merge branch 'ytdlp' of github.com:ytdl-patched/ytdl-patched; branch 'master' of https://github.com/yt-dlp/yt-dlp into ytdlp
* 'ytdlp' of github.com:ytdl-patched/ytdl-patched:
* 'master' of https://github.com/yt-dlp/yt-dlp:
  [compat] Remove deprecated functions from core code
  [cleanup] Consistent style for file heads
  [compat] Remove more functions
  [compat] Fix `compat.WINDOWS_VT_MODE`
  Fix `section_end` of clips
2022-06-25 10:11:25 +09:00
pukkandan
54007a45f1 [cleanup] Consistent style for file heads 2022-06-25 00:08:58 +05:30
Lesmiscore
2c524a6d00 Merge branch 'master' of https://github.com/yt-dlp/yt-dlp into ytdlp
* 'master' of https://github.com/yt-dlp/yt-dlp:
  [extractor] Update `manifest_url`s after redirect (#3575)
  [InfoQ] Don't fail on missing audio format (#3573)
  [extractor] Update dash `manifest_url` after redirects (#3563)
  [twitcasting] Pass headers for each formats (#3568)
  [Niconico] Support 2FA (#3559)
  [cleanup,build] Cleanup some build-related code
  [cleanup] Delete unused extractors
2022-04-28 10:11:47 +09:00
pukkandan
c171445431 [cleanup,build] Cleanup some build-related code
Fixes an issue in 7ab56be2c7
2022-04-27 16:12:36 +05:30
Lesmiscore
7dd9eb1b60 Merge branch 'master' of https://github.com/yt-dlp/yt-dlp into ytdlp
* 'master' of https://github.com/yt-dlp/yt-dlp:
  [EmbedSubtitle] Enable for more video extensions
  [utils] certifi: Make sure the pem file exists
  [cleanup] Misc cleanup (#2173)
  [cleanup] Sort imports
  [cleanup] Upgrade syntax
  [cleanup] Mark some compat variables for removal (#2173)
  [cleanup] Remove unused code paths (#2173)
  [cleanup] Remove unused scripts/tests (#2173)
  [FFmpegMetadataPP] Remove `\0` from metadata
2022-04-12 11:11:02 +09:00
pukkandan
e5a998f368 [cleanup] Misc cleanup (#2173)
Authored by: fstirlitz, pukkandan
2022-04-12 05:32:52 +05:30
pukkandan
f82711587c [cleanup] Sort imports
Using https://github.com/PyCQA/isort

    isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
2022-04-12 05:32:52 +05:30
pukkandan
86e5f3ed2e [cleanup] Upgrade syntax
Using https://github.com/asottile/pyupgrade

1. `__future__` imports and `coding: utf-8` were removed
2. Files were rewritten with `pyupgrade --py36-plus --keep-percent-format`
3. f-strings were cherry-picked from `pyupgrade --py36-plus`

Extractors are left untouched (except removing header) to avoid unnecessary merge conflicts
2022-04-12 05:32:51 +05:30
nao20010128nao
fd396591d8 Merge branch 'master' of https://github.com/yt-dlp/yt-dlp into ytdlp 2021-06-08 10:28:36 +09:00
felix
cc52de4356 [cleanup] Point all shebang to python3 (#372)
Authored by: fstirlitz
2021-06-06 00:59:04 +05:30
nao20010128nao
9edd1dee43 [migration] fix builds (2) 2021-05-22 23:08:32 +09:00
hseg
359d6d8650 Fix completion paths, zsh pip completion install
Closes: #108, #110
2021-02-25 16:49:57 +02:00
Pccode66
7a5c1cfe93 Completely change project name to yt-dlp (#85)
* All modules and binary names are changed
* All documentation references changed
* yt-dlp no longer loads youtube-dlc config files
* All URLs changed to point to organization account

Co-authored-by: Pccode66
Co-authored-by: pukkandan
2021-02-25 00:15:56 +05:30
Unknown
cefecac12c [skip travis] renaming
to avoid using same folder when using pip install for example
2020-09-02 20:25:25 +02:00
Yen Chi Hsuan
582be35847 Update coding style after pycodestyle 2.1.0
In pycodestyle 2.1.0, E305 was introduced, which requires two blank
lines after top level declarations, too.

See https://github.com/PyCQA/pycodestyle/issues/400

See also #10689; thanks @stepshal for first mentioning this issue and
initial patches
2016-11-17 19:45:42 +08:00
Yen Chi Hsuan
95240b8093 Use insert for all sys.path manipulations
Closes #6867.
2015-09-26 22:04:41 +02:00
Philipp Hagemeister
dcddc10a50 [test_unicode_literals] Arm unicode_literals check
From now on, the line

from __future__ import unicode_literals

should be contained in every single Python file lest we run into any more 2.x/3.x issues.
Going forward, we're likely to develop on 3.x only and would likely miss subtle bugs otherwise.
2014-11-26 20:01:22 +01:00
Jouke Waleson
5f6a1245ff PEP8 applied 2014-11-23 20:41:03 +01:00
Filippo Valsorda
b962b76f43 re-worked release workflow, it is one-step and creates GPG signatures now 2013-01-02 21:52:27 +01:00
gcmalloc
a4680a590f changing the template file extension 2012-12-11 20:49:54 +01:00
Filippo Valsorda
4c1d273e88 it's curious but bash-completion is with - and not _ 2012-12-08 00:37:26 +01:00