suggestions for VIN parsing

Vincent Davis vincent at vincentdavis.net
Thu Dec 25 19:59:58 EST 2014


These are vintage motorcycles so the "VIN's" are not like modern VIN's
these are frame numbers and engine number.
I don't want to parse the page, I what a function that given a VIN (frame
or engine number) returns the year the bike was made.


Vincent Davis
720-301-3003

On Thu, Dec 25, 2014 at 5:56 PM, Dan Stromberg <drsalists at gmail.com> wrote:

> On Thu, Dec 25, 2014 at 4:02 PM, Vincent Davis <vincent at vincentdavis.net>
> wrote:
> > I would like to parse the VIN, frame and engine numbers found on this
> page
> > (below). I don't really know any regex, I have looked a little at
> pyparsing.
> > I have some other similar numbers to. I am looking for suggestions, which
> > "tool" should I learn, how should I approach this.
> > http://www.britishspares.com/41.php
>
> I don't see any VIN numbers there offhand (they perhaps don't belong
> on the public internet since they can sometimes be used to make a car
> key), but most people parse HTML using Python via lxml or
> BeautifulSoup.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20141225/f998876f/attachment.html>


More information about the Python-list mailing list