@extends('layouts.admin.master') @section('head') @endsection @section('title') Goodreads Bulk Scraper @endsection @section('body')
Scraping Goodreads…
Please wait, do not close this tab.
{{-- Top bar --}}
Admin β€Ί Tools β€Ί Goodreads Bulk Scraper

Goodreads Scraper πŸ“š Bulk

Paste ISBNs β€” system looks up your database and saves ratings & reviews automatically.

@if(session('success'))
{{ session('success') }}
@endif @if($errors->any())
{{ $errors->first() }}
@endif {{-- ── FORM CARD ── --}}

πŸ“‹ Paste ISBNs

comma-separated or one per line
@csrf
Comma-separated or one per line β€” duplicates removed automatically. Each ISBN is looked up in your m_book_type table.
{{-- ── RESULTS CARD ── --}} @isset($results) @php $successCount = collect($results)->where('success', true)->count(); $failCount = collect($results)->where('success', false)->count(); @endphp

πŸ“Š Results

βœ“ {{ $successCount }} OK @if($failCount) βœ— {{ $failCount }} failed @endif
@foreach($results as $i => $r) @endforeach
# ISBN Status Book Title Rating Reviews Saved Note
{{ $i + 1 }} {{ $r['isbn'] }} @if($r['success']) βœ“ OK @else βœ— Failed @endif {{ $r['data']['book_title'] ?? 'β€”' }} @if(isset($r['data']['overall_rating'])) {{ number_format($r['data']['overall_rating'], 2) }} / 5 @else β€” @endif {{ $r['data']['reviews_saved'] ?? 0 }} {{ $r['message'] }}
@endisset
@section('script') @endsection @endsection