Skip to main content

This package will get the latest news from the source all website in indonesia

Project description

Latest News Indonesia

This package contains the latest news from various official Indonesian websites

HOW IT WORK?

This package will be taken from the [Official Indonesian Website] (https://www.cnnindonesia.com/) and (https://www.kompas.com) to find out the latest news happening in Indonesia.

This package will use BeautifulSoup4 and Request, to produce output in the form of JSON ready for use in web or mobile applications

HOW TO USE

import BeritaTerkini.CNN
import BeritaTerkini.Kompas


if __name__ == '__main__':
    print('Sumber Berita : https://www.kompas.com/')
    data = BeritaTerkini.CNN.isi()
    BeritaTerkini.CNN.wadah(data)
    print('Sumber Berita : https://www.cnnindonesia.com/')
    data = BeritaTerkini.Kompas.isi()
    BeritaTerkini.Kompas.wadah(data)

Author

Rafi Ramdhani

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

latest-news-0.3.tar.gz (2.3 kB view hashes)

Uploaded Source

Built Distribution

latest_news-0.3-py3-none-any.whl (3.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page