I am a big fan of web automation and scraping. Recently I started answering questions related to such in JavaScript, but I noticed people still use some popular, but non-maintained software which can easily be converted to working versions of different software/product.
Here is an example:
- CasperJS and PhantomJS are no longer maintained. Both of them have around 500~2000 active questions without any answer. Every day there are new questions about things that do not work. Some have thousands of views without any answer mostly because it doesn't work anymore.
- Nightmare and Puppeteer are two modern products. Most questions asked on the above mentioned tags can easily be replaced by these.
My question is:
- Can I answer those questions (about CasperJS and PhantomJS) with valid solutions with Puppeteer? Obviously I am going to mention how CasperJS is no longer maintained, but this exact problem can easily solved by Puppeteer instead, etc.
- Is it okay if I answer non-answered questions from 2011~2017? Most of them are solved anyway in later versions, but the questions are still online and gaining visitors.
I cannot not mention how much I suffered for that, finding a problem but never a solution anywhere, except an unanswered question on Stack Overflow. And I feel this question I am writing right now is also a duplicate, because I cannot be the only one person ever felt this way.
EDIT:
I am not affiliated with any of the mentioned tech including CasperJS, PhantomJS, NightmareJS, Puppeteer.
All of the mentioned software is in JavaScript. I could include some other software too, but included these because of the sheer popularity on GitHub and Stack Overflow. There is Selenium too, but has a bit different workflow. If new software with a more powerful and flexible API comes, I will probably use that instead.
What I meant being easily converted, is most of them has similar syntax or workflow. Open website, click here, get title, get text, etc. I worked with all of the mentioned software and switched back and forth many times so it felt natural to me.
However if it's too much to do so, I would not answer, because of the time it would take me to replicate the question.
import
statement (orrequire()
call)?