Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update crawler.

  • Loading branch information...
commit 0ad001282876fe0d689aa33077c17886850215f8 1 parent 01a45db
@jeremyf authored
Showing with 5 additions and 0 deletions.
  1. +2 −0  README.textile
  2. +3 −0  lib/crawl.rb
View
2  README.textile
@@ -2,9 +2,11 @@ Order of Execution
# bundle exec ruby lib/crawl.rb
# bundle exec ruby lib/parse_source.rb
+# bundle exec ruby lib/check_for_english_content.rb
# bundle exec ruby lib/render.rb
# bundle exec ruby lib/transform_links.rb
# bundle exec ruby lib/upload_assets.rb
# bundle exec ruby lib/update_content.rb
# bundle exec ruby lib/upload_news.rb
# bundle exec ruby lib/generate_redirects.rb
+# bundle exec ruby lib/verify-edition.rb
View
3  lib/crawl.rb
@@ -1,6 +1,9 @@
#!/usr/bin/env ruby
require 'open-uri'
+require 'fileutils'
+
+FileUtils.mkdir_p(File.join(File.dirname(__FILE__), "../storage/original"))
# Read through the review ides and write the file.
review_ids_filename = File.join(File.dirname(__FILE__), 'review_ids.txt')
Please sign in to comment.
Something went wrong with that request. Please try again.