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

Add skip-lost argument to solve issue #3 #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SnipGhost
Copy link
Contributor

Try to solve #3 (more information here)

How to run:

./sponsrdump.py $OTHER_ARGS --skip-lost

Tested on my NAS with these changes:
Снимок экрана 2024-11-15 в 14 54 50

Run with:

./sponsrdump.py "https://sponsr.ru/uzhukoffa_lessons/" --prefer-video 1280x720 --skip-lost

@@ -662,6 +667,8 @@ def dump(
'--no-text', help='Не следует скачивать текст', action='store_true')
parser.add_argument(
'--text-to-video', help='Следует ли создать видео с текстом статьи', action='store_true')
parser.add_argument(
'--skip-lost', help='Пропускать не найденные файлы (error 404)', action='store_true')
Copy link
Owner

Choose a reason for hiding this comment

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

Let's make it ignore-missing to be more precise and semantically correct.

И «ненайдённые» в данном случае слитно.

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.

2 participants