PatchPorting / patch-finder

A tool to find security patches from across the web.
GNU General Public License v2.0
4 stars 6 forks source link

xpath definitions & determination should be better #4

Open jajajasalu2 opened 5 years ago

jajajasalu2 commented 5 years ago

Currently, xpath determination is done using a giant if else ladder in entrypoint.py, comparing the URL to a regular expression and returning the list of corresponding xpaths. A more sophisticated solution for this is required.

Additionally, the xpaths should also be consistent and defined properly.