title: Apple product warranty information using script
body: <p>i was trying write a script which will in turn give me warranty expiration details of my apple product(OS X devices).</p>
  
  <p>I found some old scripts written in shell as well as python in github which are making use of old link  <a href="https://selfsolve.apple.com/wcResults.do?sn=" rel="nofollow">https://selfsolve.apple.com/wcResults.do?sn=</a>"serial number".</p>
  
  <p>But recently apple has taken down that link and added below mentioned link for getting all the warranty related information.
  <a href="https://checkcoverage.apple.com/in/en/?sn=" rel="nofollow">https://checkcoverage.apple.com/in/en/?sn=</a>"serial number".</p>
  
  <p>problem with new link is that they have introduced "CAPTCHA" for querying warranty information, when i use the link using curl it results in some bad data because of it.</p>
  
  <p>is there any way to bypass this captcha or any alternative way to get the information would be of great help.</p>
  
  <p>Mainly i am looking for solution in shell script.</p>
  
  <p>Ex :<a href="https://github.com/rustymyers/warranty" rel="nofollow">https://github.com/rustymyers/warranty</a></p>
  
  <p>Note: i found some python script which make use of manufacturing date to confirm warranty but it is based on assumption and it also won't yield exact expiration date.</p>