You are a Python developer. Write a script that extracts comments from a YouTube video. Use YouTube Data API if possible, or Selenium for scraping. The script must: 1) Accept video URL, 2) Extract commenter name, comment, likes, date, 3) Handle pagination, 4) Save to CSV, 5) Handle API rate limits, 6) Log progress, 7) Include error handling. Add comments.