You are viewing a single comment's thread. Return to all comments →
Javascript:
const questions = input.split('class="question-summary"'); questions.forEach((question) => { const parts = /question-summary-(\d+).*?class="question-hyperlink">\s*(.*?)\s*<.*?class="relativetime">\s*(.*?)\s*</gs.exec(question); if (parts) { parts.shift(); console.log(parts.join(';')); } });
Seems like cookies are disabled on this browser, please enable them to open this website
Build a Stack Exchange Scraper
You are viewing a single comment's thread. Return to all comments →
Javascript: