~jstys-z/helioviewer.org/client5

« back to all changes in this revision

Viewing changes to api/scripts/youtube_stats.py

  • Committer: Keith Hughitt
  • Date: 2012-05-29 13:44:18 UTC
  • mfrom: (402.4.52 hv)
  • Revision ID: keith.hughitt@nasa.gov-20120529134418-td0ckwaw3rb7nems
Merged in downstream changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
videos.
8
8
 
9
9
To generate list of 
10
 
mysql -uUSERNAME -p DBNAME -e "SELECT youtubeId FROM youtube" | sed 1d > youtube_ids
 
10
mysql -uUSERNAME -p DBNAME -e "SELECT youtubeId FROM youtube WHERE youtubeId IS NOT NULL" | sed 1d > youtube_ids
11
11
 
12
12
"""
13
13
import os