It is absolutely legal to record videos for personal purposes such as keeping them for offline enjoyment. However, it becomes really illegal when you sell your video copies from Netflix to make money of someone else’ work.