Search for books using Kyobo Book Centre's online catalog. Use this when users want to find books by keyword, title, author, or topic. Supports Korean and English search terms and returns book titles with direct purchase links. Ideal for recommendations, locating specific titles, or discovering books on particular subjects.
Search for books using Kyobo Book Centre's comprehensive online catalog.
Use the search script to find books by any keyword:
import subprocess
result = subprocess.run(['python', 'scripts/search_books.py', 'keyword'],
capture_output=True, text=True, cwd='book-search')
print(result.stdout)
The search script is located at skills/book-search/scripts/search_books.py relative to the application working directory.
IMPORTANT: Always use the FULL path skills/book-search/scripts/search_books.py — do NOT shorten to scripts/search_books.py.
# Search for programming books
result = subprocess.run(['python', 'scripts/search_books.py', '프로그래밍'],
capture_output=True, text=True, cwd='book-search')
# Search by author name
result = subprocess.run(['python', 'scripts/search_books.py', '무라카미 하루키'],
capture_output=True, text=True, cwd='book-search')
# Search by topic
result = subprocess.run(['python', 'scripts/search_books.py', 'artificial intelligence'],
capture_output=True, text=True, cwd='book-search')
The script requires:
requests - for HTTP requestsbeautifulsoup4 - for HTML parsingurllib.parse - for URL encoding (built-in)Install dependencies:
pip install requests beautifulsoup4
Category:web-search