惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 司徒正美
D
Darknet – Hacking Tools, Hacker News & Cyber Security
M
MIT News - Artificial intelligence
腾讯CDC
IT之家
IT之家
Microsoft Azure Blog
Microsoft Azure Blog
M
Microsoft Research Blog - Microsoft Research
阮一峰的网络日志
阮一峰的网络日志
H
Help Net Security
L
LangChain Blog
G
Google Developers Blog
Stack Overflow Blog
Stack Overflow Blog
人人都是产品经理
人人都是产品经理
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - 【当耐特】
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
U
Unit 42
Recent Announcements
Recent Announcements
S
SegmentFault 最新的问题
大猫的无限游戏
大猫的无限游戏
博客园 - Franky
T
The Blog of Author Tim Ferriss
罗磊的独立博客
宝玉的分享
宝玉的分享
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
雷峰网
雷峰网
D
DataBreaches.Net
爱范儿
爱范儿
Schneier on Security
Schneier on Security
P
Palo Alto Networks Blog
Spread Privacy
Spread Privacy
Hugging Face - Blog
Hugging Face - Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
K
Kaspersky official blog
P
Privacy & Cybersecurity Law Blog
博客园_首页
T
Threat Research - Cisco Blogs
I
InfoQ
有赞技术团队
有赞技术团队
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Recorded Future
Recorded Future
量子位
H
Hackread – Cybersecurity News, Data Breaches, AI and More
GbyAI
GbyAI
Cyberwarzone
Cyberwarzone
B
Blog
C
Check Point Blog
P
Proofpoint News Feed
S
Securelist
A
Arctic Wolf

DEV Community

GitHub Copilot Workspace Review: Task-Level AI Coding in the Browser Azure Container Apps Express: The Agent-First Platform You've Been Waiting For Vibe Coding Is Fun Until Production NVIDIA CUTLASS: High-Performance CUDA Templates for AI Linear Algebra The creator told 2,000 people to ship in 30 days. Nobody built the structure for it. EC2 Beginner Guide: Launch Your First AWS Instance JaisCloud — A Free, Single-Binary AWS Emulator in Go Cursor IDE Review: What Makes It a Genuinely Different AI Code Editor How to Debug Complex Regex Patterns Offline Without Leaking Proprietary Data The Moment the Default Runtime Became the Payload HoneyCloud — Reviving My Final Year Cybersecurity Project Rust Kernel Modules, Ready-to-Ship: A cargo-generate Template with Tests, CI, and Zero-Panic… Genetec Security Center 5.14.0.0: What's Coming, What's Already Here, and Why I'm Still Telling Clients to Wait Day 9 - Sparse embedding continued - RAG I coded an Air Hockey game where a local SLM hacks the DOM to cheat (and trash-talks you) 🤖🏓 Docker Desktop Alternatives: OrbStack vs Colima vs Rancher Desktop The Veltrix Treasure-Hunt Engine Litmus Test Quantizing Gemma 4 on Mac with llama.cpp How I Built an AI-Powered Google Maps Scraper for Lead Generation Readsb ADS-B Aircraft Local State Archive The Veltrix Event Engine Blew Up Because We Trusted the Defaults MiniScript Weekly News — May 27, 2026 The benchmark that made me change my mind about Jakarta EE in 2026 El benchmark que me hizo cambiar de opinión sobre Jakarta EE en 2026 Building an Offline-First Bushfire Response Platform With Hermes Agent The Golang Trinity: Functions, Methods, Interfaces gitwink — a read-only tray git glance for the AI-agent era I built a free PHP & Laravel tutorial site — 49 lessons from scratch Sniffing Modbus Traffic with 5 Lines of Python (And Why It Should Scare Your OT Team) Why Hytale Treasure Hunts Explode In Production (And How We Fixed It) XGroundControlStation The Worst Time to Quit Software Engineering Might Be Right Now Closiq Discord Agent: An AI Customer Support Monolith 🚀 Why Does Using an ORM Decrease Database Performance? An Experience... Document photos are a tiny image-processing problem with sharp edges Meet the G2 Nano: A 1GHz Dev Board Built for Robotics The 34x Pricing Gap: Why AI Model Selection in 2026 Is a Math Problem, Not a Loyalty Problem I Built an Open-Source Multi-Agent Fact-Checker — Here's How It Works The Sovereign Privacy Illusion: Why GDPR Compliance Doesn’t Equal Data Control Mastering Azure Entra ID: A Hands-On Guide to User Management and Privileged Roles Solana Transactions Are Not What I Expected (Coming From EVM) How We Broke the Hytale Treasure Hunt Engine (And Fixed It at 3 AM) AI Memory Is Broken. Here's What's Finally Starting to Fix It State Management in Production Flutter Apps: What Actually Held Up at Scale The Role of QA in the New AI SDLC We spent 6 months feeding our compliance data to a major cloud AI. Here's what we got back. open-source coding agents need maintainers, not just models Oracle ORA-00018 오류 원인과 해결 방법 완벽 가이드 I built agmsg so Claude Code and Codex could stop using me as a copy-paste relay Gmail ate my formatting. So I built PasteClean. Amazon Bedrock AgentCore Payments: The Spending Limit Is the Product I Should Have Put Events in the Same Database as the Aggregate Root—Heres What Happened The SilentRecon Agent Loop Architecture: How We Build AI That Doesn’t Stall How I Built a Dark Cinematic Restaurant Landing Page Template and Listed It For Sale Claude Code Slash Commands You Should Know (I wasn't either) "7 Free GitHub Repos Every Beginner Should Star Right Now" Blockless Scope: JavaScript Shenanigans 🧠 Plano Físico vs Plano Funcional en AWS Networking: cómo los arquitectos senior resuelven lo que otros no ven. I Accidentally Built an AI Employee Out of Scripts and Bad Sleep Habits Stop Chasing Shiny Tools: A Minimalist AI Stack That Actually Makes You Money Day 7 of trying to get 20 paying customers in 40 days. Currently at 0. How We Blew Up Our Event Pipeline at 3 AM Because the Treasure Hunt Engine Had No Clear Operator Bounds Autograder - Finish-Up-A-Thon Federico@Cursor,Dimma@Fireworks深入探讨Composer2技术 Hermes Memory Providers: A Complete Breakdown for New Users How I Built a Cinematic Scroll Experience with GSAP and ScrollTrigger I Built a Free Spelling Bee Solver and Analysis Tool — Here's What It Does Stop Over-Engineering Your UI: Material 3 for Blazor (Without the JS State Management Nightmare) I just created the best web FullStack framework in Rust language: the Rullst! I did with the help of AI, but my tokens are over, can you help me? ASF Project Spotlight: Apache Iceberg babelForge TIL 5/27/2026 Broken Software I built a CLI that scaffolds agentic workflows for Claude Code Testing a LiveView App with Playwright: Fixing Navigation Timeouts I Turned on Agent Tracing for 30 Days. 4 Hidden Bottlenecks Were Eating 47% of My Tokens. How I monitor CVEs daily with a 50-line Python script Apache Geode 2.0, Part II: Rebuilding a Distributed System for the Modern Java Era HiTerm: A Free Remote Terminal for AI Coding Agents (Claude Code, Codex, Gemini CLI) 5 Free Online Tools You Didn't Know About — No Signup How I Finished My AI Code Reviewer Using GitHub Copilot The auth_rls_initplan linter has a blind spot: SECURITY DEFINER bodies Upgrading OtakuShelf to JHipster 9.1.0 Polishing the catalog (and reading the agent's receipts) Adding the anime side without holding my breath Pairing up: scaffolding OtakuShelf with an agent State.js Tutorial: Creating Reusable UI Components with Pure CSS Reactivity Deskbrid: A Linux Desktop HAL Built Entirely by AI Agents The Day the Treasure Hunt Engine Drowned in 300 ms Queries How I Built a Marriage Biodata PDF Generator in Next.js Supply Chain & AI Security: GlassWorm Takedown, Prompt Injection RCE, Ubuntu 24 Hardening AI Agent Production Challenges: Failures, Starlette Vulnerability, Code Gen SQLite Bugfix, PostgreSQL Migrations & Filesystem API Paradigm CUDA 13.3 Lands, AI Writes Blackwell Kernels, & FP4 VRAM Optimization for LLMs How I Found a Fake Job Assessment Repo Hiding Malware Inside SVG Files Building the Pipes: Core Data Engineering Concepts Explained Ultimate 1-Minute Xray/3x-ui Setup: VLESS, Hysteria2, Caddy Self-Steal & Smart Outbounds in One Script [Boost] Vamos falar de IA. Mas de outro lugar. Stop Duplicating Code! Is "Integration Hell" Just Laziness or a Systemic Architecture Failure?
Export all of Andoid apps
Phuong Tran · 2026-05-28 · via DEV Community

Download: App List

Sau khi Export một file .html thì bạn mở lên sẽ không thấy app icons đâu. Hãy chạy đoạn script Python dưới đây để có thể **bổ sung app icons vào Android app list*.

Để tìm kiếm và bổ sung tự động icon thực tế của ứng dụng (từ Google Play Store hoặc các nguồn khác trên mạng) vào file HTML của bạn, phương pháp tối ưu nhất là sử dụng Script tự động (Python hoặc NodeJS) kết hợp với các công cụ/API cào dữ liệu (Web Scraping).

Vì trong file HTML của bạn đã có sẵn mã gói ứng dụng (ví dụ: com.alibaba.aliyun), việc tìm kiếm bằng package-name sẽ cho kết quả chính xác 100%.

Dưới đây là các phương pháp phổ biến và dễ thực hiện nhất:


Phương pháp 1: Sử dụng thư viện Python google-play-scraper (Khuyên dùng)

Đây là cách dễ nhất, không cần đăng ký API key và tỷ lệ thành công rất cao. Thư viện này sẽ tự động tìm kiếm trên Google Play Store dựa trên package-name và trả về link icon (hình ảnh).

Cách hoạt động:

  1. Đọc file HTML của bạn để lấy tất cả package-name.
  2. Dùng thư viện quét qua Play Store để lấy URL của icon.
  3. Chèn thẻ <img src="URL_ICON" /> vào trước tên ứng dụng trong HTML.

Đoạn code Python mẫu để bạn chạy:
(Trước khi chạy, bạn cài thư viện bằng lệnh: pip install google-play-scraper beautifulsoup4)
Lưu file với tên tuỳ chọn và chạy trong cmd.exe: py append_applist_icons.py.

from bs4 import BeautifulSoup
from google_play_scraper import app as play_app
import time

# 1. Đọc file HTML gốc của bạn (thay tên file tương ứng)
input_file = "apps_20260527232642_1.html"
output_file = "apps_with_icons.html"

with open(input_file, "r", encoding="utf-8") as f:
    soup = BeautifulSoup(f.read(), "html.parser")

# Tìm tất cả các khối ứng dụng
app_items = soup.find_all("div", class_="app-item")

print(f"Đang xử lý {len(app_items)} ứng dụng...")

for index, item in enumerate(app_items):
    package_div = item.find("div", class_="package-name")
    if package_div:
        package_name = package_div.text.strip()

        try:
            # 2. Lấy thông tin từ Google Play Store bằng package name
            # Thêm timeout hoặc delay nhỏ để tránh bị Google chặn (Rate limit)
            time.sleep(0.5) 
            result = play_app(package_name, lang='vi', country='vn')
            icon_url = result.get('icon')

            if icon_url:
                # 3. Bổ sung thẻ img chứa icon vào trước app-name
                name_div = item.find("div", class_="app-name")
                if name_div:
                    # Tạo thẻ img mới
                    icon_tag = soup.new_tag("img", src=icon_url)
                    icon_tag['style'] = "width: 48px; height: 48px; display: block; margin: 0 auto 8px auto; border-radius: 10px;"
                    name_div.insert_before(icon_tag)
                    print(f"[{index+1}] Đã thêm icon cho: {package_name}")

        except Exception as e:
            # Nếu ứng dụng không có trên Play Store (app nội địa, app tự phát triển, hoặc bị gỡ)
            print(f"[{index+1}] Không tìm thấy trên Play Store: {package_name}")

            # Thêm một icon mặc định nếu không tìm thấy
            name_div = item.find("div", class_="app-name")
            if name_div:
                icon_tag = soup.new_tag("img", src="https://cdn-icons-png.flaticon.com/512/564/564419.png")
                icon_tag['style'] = "width: 48px; height: 48px; display: block; margin: 0 auto 8px auto; opacity: 0.5;"
                name_div.insert_before(icon_tag)

# Sau khi chạy xong, lưu lại thành file mới
with open(output_file, "w", encoding="utf-8") as f:
    f.write(str(soup))

print("Hoàn thành! File mới đã được lưu thành:", output_file)

Enter fullscreen mode Exit fullscreen mode

Tuỳ vào số lượng app của bạn. Script có thể mất vài phút đến vài chục phút. Trung bình 1-2 giây là sẽ tìm tải và chèn xong một icon vào file html.


Phương pháp 2: Sử dụng các dịch vụ Proxy Icon trực tiếp (Không cần chạy code phức tạp)

Nếu bạn không muốn chạy code Python mà muốn sửa thẳng vào CSS/HTML thông qua một đường dẫn URL động, bạn có thể tận dụng một số dịch vụ bên thứ ba hoặc công cụ hiển thị ảnh theo package name.

Tuy nhiên, Google Play Store không cung cấp link ảnh cố định dạng play.google.com/icon/com.whatsapp.png. Do đó, bạn vẫn phải dùng một dịch vụ trung gian (API).

Ví dụ một số API miễn phí/trả phí từ các bên cung cấp dữ liệu thiết bị di động như Apkpure, ApkCombo hoặc các open-source API trên GitHub:

  • Thay vì tải ảnh về, bạn có thể gán link ảnh trong HTML dạng: <img src="https://api.example.com/get-icon?package=com.alibaba.aliyun" />.

Nhược điểm: Các dịch vụ này thường không ổn định lâu dài nếu họ đổi cấu trúc API hoặc chặn request từ trình duyệt.


Phương pháp 3: Sử dụng API tìm kiếm hình ảnh của Google/Bing (Dành cho app không có trên Play Store)

Có một số ứng dụng (như game Trung Quốc bản nội địa, ứng dụng rác, ứng dụng hệ thống) sẽ không xuất hiện trên Google Play Store quốc tế.

  • Giải pháp: Bạn có thể dùng Google Custom Search JSON API hoặc Bing Image Search API.
  • Cách làm: Gửi truy vấn tìm kiếm bằng từ khóa "Tên ứng dụng" + "icon png" hoặc "package-name" + "icon". Sau đó lấy URL hình ảnh đầu tiên trả về từ kết quả tìm kiếm để chèn vào HTML.
  • Lưu ý: Phương pháp này cần bạn đăng ký API Key (thường miễn phí một lượng giới hạn bài tìm kiếm mỗi ngày).

Tóm lại, bạn nên làm gì lúc này?

Nếu bạn có một chút kiến thức về máy tính, hãy cài Python, copy đoạn code ở Phương pháp 1 và chạy. Nó sẽ tự động đọc file HTML hiện tại của bạn, tự lên mạng tìm đúng logo của Alibaba Cloud (阿里云), Facebook, TikTok,... và chèn thẳng vào file HTML giúp bạn một cách đẹp mắt nhất.