Skip to content

etwk/warranty_check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Fetch warranty info and save to CSV. Supported vendor:

  • Lenovo: laptop

How-to

Use the script

python3 main.py -sn "./sn.txt" -csv "./warranty.csv"

Use the function

The class LenovoWarranty stores raw fetched warranty data and processed data in self.collection, it will avoid fetch SN that are already fetched.

  • Initiate: warranty = LenovoWarranty()
  • Add SN then fetch and process: warranty.add("./sn.txt") (run this multiple times to add from different files)
  • Write finished to CSV: warranty.save("./warranty.csv")
  • Check current status: warranty.status()

Todo

  • Avoid duplicated processing
  • Find the correct way to process Lenovo warranty data based on how Lenovo website processing using JS

Releases

No releases published

Packages

No packages published

Languages