Giter Site home page Giter Site logo

lukas0711 / nkon.nl-battery-spec-visualizer Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 4 KB

The script summarizes the battery online shop nkon.nl in a readable table format. The table is sorted for price per capacity in descending order.

License: MIT License

Python 100.00%
nkon-nl battery 18650 webscraping

nkon.nl-battery-spec-visualizer's Introduction

license-badge stars-badge issues-badge maintenance-badge

Nkon.nl-battery-spec-visualizer

The script summarizes the battery online shop nkon.nl in a readable table format. This offers a fast overview of the best battery offers for your project. The script creates a html table and opens it with your browser. The table is sorted for price per capacity in descending order. Batteries that are out of stock are shown at the botom.

The table shows Price in €, Capacity in mAh, Power in A, Price per capacity in €/Ah, In Stock, Refurbished and the Product Link.

Configuration

Enter the page you want to summarize.

urlStr = r"http://eu.nkon.nl/rechargeable/li-ion/18650-size.html"

Uncomment the lines to export the summarized data to .csv.

# df.to_csv('Nkon.nl_battery_overview.csv',
#           index=False, encoding='utf-8-sig', sep=';', decimal=',')

Enter your proxy server.

proxies = {  # proxies if needed
    "http": "http://user:pass@address:port",
    "https": "http://user:pass@address:port",
}

Installation

Install all python package requirements through the pip command
pip install -r requirements.txt

Credits

This project was inspired by L0laapk3's nkon.nl-spec-sorter.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.