Indiasakship31/News-Aggregator
Django project to scrape a news website using Beautiful soup and display in our template.
📰 News Aggregator – Cào tin tự động từ The Onion bằng Django + Beautiful Soup
Dự án mở rộng tin tức tự động bằng cách cào dữ liệu từ một trang tin và hiển thị qua giao diện web đẹp mắt.
News Aggregator là một dự án Django dùng thư viện Beautiful Soup và requests để cào bài viết từ trang tin 'www.theonion.com', lưu trữ thông tin bài viết (tiêu đề, hình ảnh, liên kết) vào cơ sở dữ liệu SQLite, sau đó phục vụ cho người dùng qua giao diện template được xây dựng bằng HTML, CSS và Bootstrap.
✨ Điểm nổi bật
- Cào tin tự động: Sử dụng Beautiful Soup để trích xuất bài viết từ mục 'latest' của The Onion.
- Lưu trữ dữ liệu: Lưu tiêu đề, hình ảnh và liên kết bài viết vào cơ sở dữ liệu SQLite.
- Phân loại theo chủ đề: Hỗ trợ hiển thị tin theo các mục như Latest, Entertainment, Sports, Politics, Opinion, Breaking News.
- Giao diện thân thiện: Thiết kế bằng Bootstrap với hỗ trợ chế độ sáng/tối.
- Chia sẻ xã hội: Hỗ trợ chia sẻ bài viết qua Facebook, WhatsApp, Telegram và sao chép liên kết.
- Triển khai dễ dàng: Chỉ cần chạy
python manage.py runserverđể khởi chạy trang web.
💡 Vì sao đáng chú ý
Không chỉ là một công cụ cào dữ liệu đơn thuần, News Aggregator kết hợp giữa kỹ thuật crawling và phát triển web để tạo ra trải nghiệm người dùng trọn vẹn. Dự án thích hợp cho người mới học Python và Django muốn hiểu cách xây dựng một ứng dụng thu thập và trình bày nội dung tự động. Bên cùng đó, việc hỗ trợ đa chủ đề và chia sẻ xã hội giúp tăng tính tiện ích thực tế.
#Django #WebScraping #BeautifulSoup #Python3 #TiniX
Similar Projects
Discover other similar projects and AI models.
The most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web.
Knowledge infrastructure to make your agents smarter. Search, scrape and access 550+ data providers through one API.
all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...
Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.
The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Reverse engineer anything with agents, from app behavior down to native binaries.