fisheepx / douban-to-imdb

导出豆瓣电影评分到 IMDB,再将 IMDB观看记录导入 Trakt.
147 stars 30 forks source link

Improve the reliability of the rating process; explicit UTF-8 #7

Closed librehat closed 2 years ago

librehat commented 2 years ago

Specifying UTF-8 explicitly helps with edge cases when the CSV file is created and read on different platforms (Linux vs Windows for example).

Some elements on the webpage can be slow to load because of the Internet condition, adding extra EC conditions so that the actions can be executed more reliably.

FYI, other web drivers should work fine too (I tested Firefox). It doesn't have to be Chrome.

fisheepx commented 2 years ago

@librehat Thanks for your optimization, I've merged the pull request.