wathiede / surfer

Surfer is a simple program to scrape the status page of the Motorola/ARRIS SB6121 or SB6183 cable modem. It exports metrics in a format compatible with http://prometheus.io/
Apache License 2.0
7 stars 3 forks source link

SB8200 is the same as SB6183 #4

Closed robbiet480 closed 4 years ago

robbiet480 commented 6 years ago

Just "added" support for my SB8200 by copying the SB6183 directory and changing references as necessary. The HTML is slightly different, but nothing that throws off the parsing code for the SB6183. Should I submit a PR with a new package for SB8200 or modify SB6183 to be called like modern (the SB8200 is the latest and greatest modem out of the horror show that is Motorola/Arris which is why I think modern might be appropriate).

Just let me know how to proceed!

wathiede commented 6 years ago

I think a pull request that clones and search & replaces as appropriate (with an example page under testdata/) would be ideal.

That way if they push out firmware updates that changes one but not the other, then its easier to apply a model specific fix.