Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,21 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.5.0] - 2026-03-17

### Added

- `crawlers attrs` command — show result attributes grouped by function with colored output
- `--limit` and `--page` pagination for `accounts ls`
- `--limit` alias for `--page-size` in `results get`
- Animated terminal demo GIF in README
- GitHub Actions CI (test + publish workflows)
- FAQ, CLI vs SDK comparison, and extra badges in README

### Changed

- `crawlers search` now shows same columns as `crawlers ls` (slug, max concurrency, etc.)

## [0.4.0] - 2026-03-13

### Changed
Expand Down
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "lobstrio"
version = "0.4.0"
version = "0.5.0"
description = "CLI for the Lobstr.io scraping API"
readme = "README.md"
license = "Apache-2.0"
Expand All @@ -29,7 +29,7 @@ classifiers = [
"Typing :: Typed",
]
dependencies = [
"lobstrio-sdk>=0.2.0",
"lobstrio-sdk>=0.2.1",
"typer[all]>=0.9.0",
"rich>=13.0.0",
"tomli>=2.0.0;python_version<'3.11'",
Expand Down
7 changes: 5 additions & 2 deletions src/lobstr_cli/commands/accounts.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,14 @@


@accounts_app.command("ls")
def list_accounts():
def list_accounts(
limit: int = typer.Option(50, "--limit"),
page: int = typer.Option(1, "--page"),
):
"""List your accounts."""
from lobstr_cli.cli import get_client, _state
client = get_client()
items = client.accounts.list()
items = client.accounts.list(limit=limit, page=page)
Comment on lines +16 to +23

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

@copilot apply changes based on this feedback

if _state.get("json"):
print_json([asdict(a) for a in items])
return
Expand Down
2 changes: 1 addition & 1 deletion src/lobstr_cli/commands/results.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def get_results(
format: str = typer.Option("json", "--format", help="Output format: json or csv"),
output: Optional[str] = typer.Option(None, "--output", "-o", help="Save to file"),
page: int = typer.Option(1, "--page"),
page_size: int = typer.Option(50, "--page-size"),
page_size: int = typer.Option(50, "--page-size", "--limit"),

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

@copilot apply changes based on this feedback

):
"""Fetch results for a squid."""
from lobstr_cli.cli import get_client, _state
Expand Down
Loading