Enjaz
systems / udemy-pro-tracker-متعقب-الكورسات-الفوري
serviceLive

Udemy Pro Tracker — متعقّب الكورسات الفوري

محرّك مراقبة عالي الدقة يكشف الكورسات المدفوعة الجديدة على Udemy خلال 5-30 ثانية، مبني بـ asyncio + HTTPX HTTP/2، مع تنبيهات تليجرام فورية ولوحة بيانات حيّة.

PythonasyncioHTTPXHTTP/2SQLiteTelegramRich

abstract

محرّك Production-grade يُكتشَف فيه كل كورس Udemy مدفوع جديد في ثوانٍ، لا دقائق.

🎯 المشكلة: قنوات الكوبونات تنشر الكورس بعد ساعات من إصداره. الكوبونات تنفد قبل أن تصلك.

✨ الحل: مراقبة مباشرة لـ Udemy API مع كشف ذكي يفلتر المدفوع فقط.

التقنيات الجوهرية: • httpx[http2] للحصول على HTTP/2 multiplexing — سرعة 3× مقارنة بـ requests • asyncio + workers متوازية: عشرات الطلبات في الثانية • فلتر صارم: المدفوع فقط، بلا ضوضاء الكورسات المجانية • تغطية كل اللغات + 18 تصنيف رئيسي • Dashboard تيرمينال حيّ بـ Rich • Persistence بـ SQLite WAL + cache ذكي • Notifications عبر Telegram bot • كاشف تكرارات بـ hash للروابط

architecture

  ┌──────────────┐      ┌────────────┐      ┌─────────────┐
  │  client      │─────▶│   nginx    │─────▶│  next.js    │
  │  (browser)   │      │  (proxy)   │      │  (ssr)      │
  └──────────────┘      └─────┬──────┘      └──────┬──────┘
                              │                    │
                              ▼                    ▼
                        ┌───────────┐        ┌──────────┐
                        │ fastapi   │◀──────▶│ postgres │
                        │ (asyncio) │        │ (asyncpg)│
                        └───────────┘        └──────────┘

Stateless API behind a reverse proxy. SSR delivers HTML in under a second on warm cache. Connection pool keeps Postgres hot. JWT in HttpOnly cookie for the admin panel.

notes

  • SSR-first to keep TTFB < 1s on cold visits.
  • Type-checked end-to-end via Pydantic schemas mirrored to TS.
  • Migrations versioned via Alembic; zero-downtime restarts.