Skip to content

Commit

Permalink
update instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
1gintonic committed Jun 19, 2024
1 parent 3436634 commit e556b99
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/args.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ def map_args_to_config(args: argparse.Namespace, config: FanslyConfig) -> None:

if not is_valid_post_id(post_id):
raise ConfigError(
f"Argument error - '{post_id}' is not a valid post link or ID. "
f"Argument error - '{post_id}' is not a valid post ID. "
"For an ID at least 10 characters/only digits are required."
)

Expand Down
6 changes: 3 additions & 3 deletions download/single.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def download_single_post(config: FanslyConfig, state: DownloadState):
break

else:
print_error(f"The input string '{post_id}' can not be a valid post link or ID."
print_error(f"The input string '{requested_post}' can not be a valid post link or ID."
f"\n{22*' '}The last few numbers in the URL are the post ID"
f"\n{22*' '}Example: 'https://fansly.com/post/1283998432982'"
f"\n{22*' '}In the example, '1283998432982' is the post ID.",
Expand Down Expand Up @@ -103,8 +103,8 @@ def download_single_post(config: FanslyConfig, state: DownloadState):
)

else:
print_warning(f"Could not find any accessible content in the single post.")
print_warning(f"Could not find any accessible content in post {post_id}.")

else:
print_error(f"Failed single post download. Response code: {post_response.status_code}\n{post_response.text}", 20)
print_error(f"Failed to download post {post_id}. Response code: {post_response.status_code}\n{post_response.text}", 20)
input_enter_continue(config.interactive)

1 comment on commit e556b99

@Adekhey123
Copy link

Choose a reason for hiding this comment

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

Please sign in to comment.