realbooru 0.3.0
realbooru: ^0.3.0 copied to clipboard
A simple http backed scraper to collect Realbooru content, images and videos.
example/realbooru_example.dart
import 'dart:io';
import 'package:realbooru/realbooru.dart';
Future<void> main() async {
final RealbooruClient client = RealbooruClient(userAgent: 'DemoUserAgent');
final List<Post> posts = await client.posts.random(
tags: <String>['blonde', 'anal'],
);
for (final Post post in posts) {
stdout.writeln('Url: ${post.fullImageUrl}');
}
}