|
|
@@ -140,7 +140,7 @@ def get_kiriban_list ( |
|
|
|
if code in [kiriban[1]['contentId'] for kiriban in kiriban_list]: |
|
|
|
continue |
|
|
|
previous_views_count = cast (int, (VideoHistory |
|
|
|
.where_has ('videos', |
|
|
|
.where_has ('video', |
|
|
|
lambda q: q.where ( |
|
|
|
'code', code)) |
|
|
|
.where ('fetched_at', '<', latest_fetched_at) |
|
|
|