Merge branch 'aliparlakci:development' into completion

This commit is contained in:
OMEGA_RAZER
2022-12-22 23:46:06 -05:00
committed by GitHub
69 changed files with 85 additions and 52 deletions
+3 -1
View File
@@ -115,7 +115,9 @@ would be equilavent to (take note that in YAML there is `file_scheme` instead of
bdfr download ./path/to/output --skip mp4 --skip avi --file-scheme "{UPVOTES}_{REDDITOR}_{POSTID}_{DATE}" -L 10 -S top --subreddit EarthPorn --subreddit CityPorn
```
In case when the same option is specified both in the YAML file and in as a command line argument, the command line argument takes prs
Any option that can be specified multiple times should be formatted like subreddit is above.
In case when the same option is specified both in the YAML file and in as a command line argument, the command line argument takes priority
## Options
+3
View File
@@ -1 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
__version__ = "2.6.2"
+1
View File
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import logging
import sys
+1 -1
View File
@@ -1,2 +1,2 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
from abc import ABC, abstractmethod
from typing import Union
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
import logging
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
import logging
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
import json
import logging
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
import logging
from time import sleep
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
import logging
from argparse import Namespace
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
import configparser
import importlib.resources
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
import logging
import re
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
import hashlib
import logging.handlers
+2 -1
View File
@@ -1,4 +1,5 @@
#!/usr/bin/env
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
class BulkDownloaderException(Exception):
+2 -1
View File
@@ -1,5 +1,6 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
import datetime
import logging
import platform
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
import configparser
import logging
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
import hashlib
import logging
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
import configparser
+2
View File
@@ -0,0 +1,2 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
import logging
from abc import ABC, abstractmethod
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import logging
from typing import Optional
+1
View File
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from typing import Optional
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
import re
import urllib.parse
+1
View File
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import logging
import re
@@ -0,0 +1,2 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
from abc import ABC, abstractmethod
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
import logging
from typing import Optional
+1
View File
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import logging
from typing import Optional
+1
View File
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import json
import re
+1
View File
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import json
import re
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
import logging
from typing import Optional
+1
View File
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import json
import re
+1
View File
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import logging
from typing import Optional
+2 -1
View File
@@ -1,5 +1,6 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
import itertools
import logging
import re
+1
View File
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import logging
import tempfile
+1
View File
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import logging
import tempfile
+2
View File
@@ -0,0 +1,2 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
+1 -1
View File
@@ -1,2 +1,2 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
import praw
import pytest
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
import praw
import pytest
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
import configparser
import socket
+1 -1
View File
@@ -1,2 +1,2 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
import re
import shutil
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
import shutil
from pathlib import Path
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
import shutil
from pathlib import Path
+2
View File
@@ -0,0 +1,2 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
@@ -0,0 +1,2 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from unittest.mock import MagicMock
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
from unittest.mock import Mock
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
from unittest.mock import Mock
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
import praw
import pytest
+2 -1
View File
@@ -1,5 +1,6 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
import re
from unittest.mock import MagicMock
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
import praw
import pytest
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
from unittest.mock import Mock
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
from unittest.mock import Mock
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
from unittest.mock import MagicMock
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
import re
from unittest.mock import Mock
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
import praw
import pytest
+2 -1
View File
@@ -1,5 +1,6 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
from unittest.mock import Mock
import pytest
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
from unittest.mock import MagicMock
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
from unittest.mock import MagicMock
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
from pathlib import Path
from unittest.mock import MagicMock
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
from unittest.mock import MagicMock
+2 -1
View File
@@ -1,5 +1,6 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
from datetime import datetime, timedelta
from pathlib import Path
from typing import Iterator
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
from unittest.mock import MagicMock
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
import os
import re
+2 -2
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
import platform
import sys
@@ -46,7 +46,7 @@ def do_test_path_equality(result: Path, expected: str) -> bool:
expected = Path(*expected)
else:
expected = Path(expected)
return str(result).endswith(str(expected))
return str(result).endswith(str(expected)) # noqa: FURB123
@pytest.fixture(scope="session")
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
import configparser
from pathlib import Path
+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
# coding=utf-8
# -*- coding: utf-8 -*-
from unittest.mock import MagicMock