Skip to content

Sedot medali Asian Games abal-abal. Using Python 'requests' and `BeautifulSoup` & bash

Notifications You must be signed in to change notification settings

ialexs/befe-ag_alarm

Repository files navigation

Sedot Medali

Mon Aug 20 14:01:48 WIB 2018 - by ialexs

Lucu-lucuan.

Ide dari obrolan di WA Group (Senin/20Ags2-18) ttg hasil medali Indonesia di Asian Games 2018

Basic proof-of-concept

Konbel - Konsep Gembel

Kalau Indonesia mendapatkan medali, otomatis lagu Indonesia Raya berkumandang di kantor :D :D


## Mebel - Metode Gembel

Deteksi perubahan pada halaman perolehan medali dari website resmi Asian Games

-   URL: <https://en.asiangames2018.id/medals/noc/INA>

By:

-   Secara periodik (via 'crontab') melakukan _scrapping_ URL 
(using BeautifulSoup <https://www.crummy.com/software/BeautifulSoup/>) _baru tau BeautifulSoup hari ini :D :D_
-   Output jadi file \*.dat
-   Bandingkan dengan \*.dat sebelumnya
-   Jika ada perubahan, mainkan Indonesia Raya 30 detik 
(using `play` Notes: `play` is from SoX <http://sox.sourceforge.net/>)

> end

About

Sedot medali Asian Games abal-abal. Using Python 'requests' and `BeautifulSoup` & bash

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published