{"size": 397, "ext": "js", "max_stars_repo_path": "downloadersParsers/downloadBlogStart.js", "max_stars_repo_name": "somahargitai/bloghu_downloadYourBlog", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "downloadersParsers/downloadBlogStart.js", "max_issues_repo_name": "somahargitai/bloghu_downloadYourBlog", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "downloadersParsers/downloadBlogStart.js", "max_forks_repo_name": "somahargitai/bloghu_downloadYourBlog", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 23.3529411765, "max_line_length": 55, "alphanum_fraction": 0.6725440806}
const parseArchive = require('./parseArchive')

const readline = require('readline').createInterface({
  input: process.stdin,
  output: process.stdout
});

readline.question(
  'Írd be a blogod nevét: https://_________.blog.hu\n',
  blogTitle => {
    const blogUrl = `https://${blogTitle}.blog.hu`;
    console.log(`Letöltés: ${blogUrl}`);
    parseArchive(blogUrl);
    readline.close();
  }
)
