Remove watched movies task

This commit is contained in:
2023-05-06 13:22:32 +10:00
parent e83d3a9c34
commit 08943a3f93
2 changed files with 0 additions and 913 deletions

View File

@@ -3,22 +3,6 @@
require "hanami/rake_tasks"
namespace :blog do
task :import_movies do
require "hanami/prepare"
require "csv"
repo = Adamantium::Container["repos.movie_repo"]
csv = CSV.parse(File.read("tmp/watched.csv"), headers: true)
csv.each do |row|
repo.create({
title: row["Name"],
year: row["Year"],
url: row["Letterboxd URI"]
})
end
end
task :load_from_letterboxd do
require "hanami/prepare"
require "scraperd"