You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here Atm it's not massively scaleable, if you wanted to add more sites or something in the future. Could use something like the url module to parse the url and then having a object with keys relating to the sites, and values being their relative url scraper - a bit like this vanilla node router from one of the fac workshops
The text was updated successfully, but these errors were encountered:
m4v15
changed the title
url scrap, if/else statement can be a bit fragile
urlScrapper.js: if/else statement can be a bit fragile
Jan 14, 2018
Here Atm it's not massively scaleable, if you wanted to add more sites or something in the future. Could use something like the
url
module to parse the url and then having a object with keys relating to the sites, and values being their relative url scraper - a bit like this vanilla node router from one of the fac workshopsThe text was updated successfully, but these errors were encountered: