Skip to content

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

Notifications You must be signed in to change notification settings

lukas0711/Nkon.nl-battery-spec-visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages