After backfill completes for a blog, -likes can now pick up only newer likes instead of being a one-shot pull. Tracks a per-blog liked_timestamp high-water mark and stops the refresh walk once it crosses the stored mark. A configurable cooldown (LikesRefreshCooldownDays, default 7) gates which blogs are re-checked on each run. -force bypasses the cooldown. The migration adds three columns to Blogs (LikesNewestTimestamp, LikesLastRefreshed, LikesLastNewCount) and does a one-time reset of all likes tracking state so the new high-water mark starts from a clean baseline. Existing ByLikes posts remain; the UNIQUE constraint absorbs re-inserts during the first re-backfill. Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
40 lines
1.9 KiB
JSON
40 lines
1.9 KiB
JSON
{
|
|
"appSettings": {
|
|
"PathInput": "u:\\jim\\Documents\\Web Copies\\blogs\\",
|
|
"PathOutput": "u:\\jim\\Documents\\Web Copies\\blogs\\GetNotes.txt",
|
|
"PathOutputJSON": "u:\\jim\\Documents\\Web Copies\\blogs\\GetNotesJSON.txt",
|
|
"PathOutputPosts": "u:\\jim\\Documents\\Web Copies\\blogs\\GetPosts.txt",
|
|
"PathOutputBlogs": "u:\\jim\\Documents\\Web Copies\\blogs\\GetBlogs.txt",
|
|
"PathOutputReplies": "u:\\jim\\Documents\\Web Copies\\blogs\\GetReplies.txt",
|
|
"PathOutputUrls": "u:\\jim\\Documents\\Web Copies\\blogs\\GetUrls.txt",
|
|
"PathDB": "..\\..\\..\\tl.db",
|
|
"ContainsList": "zombaee,zomb-eh,ahzombae,thebugandme,lovingbabybug,h4rdspot",
|
|
"PostIDToExclude": "730084470076686336,726309940037287936,639974102120235008,184045126218",
|
|
"EnableFileLogging": false,
|
|
"LogTraversalRecordImports": false,
|
|
"LikesRefreshCooldownDays": 7
|
|
},
|
|
"TumblrApi": {
|
|
"ConsumerKey": "PtsBCGumcsgihyynxUh8b47Jfmi7uXhEIOU46bmhdsUSJ5mEP3",
|
|
"ConsumerSecret": "sA8BwNVTVKqBRRJmHbAD6NuyKPJ3bb9cei2bYhMgqT8cLX8tSG",
|
|
"OAuthToken": "HPJI6IijHoKN6WzBumG7KjS7g01iCu07jQsulpueKbWN1ZJ35J",
|
|
"OAuthTokenSecret": "ajkN0Z1kKrsJaIXZEDI8zLsjRSQxFkfgO1i5k78FuQYCQjSY7w",
|
|
"PoolEnabled": true,
|
|
"Color": "Cyan"
|
|
},
|
|
"TumblrApi3": {
|
|
"ConsumerKey": "Jmoh13AS9hKBYsf939uENQsiWUuZJLFT3do4YK9P0bpspVuxkH",
|
|
"ConsumerSecret": "8LcHjuqpOS9gZZPaML1joT330w5NqyGdreSqSBazdAWCADzcms",
|
|
"OAuthToken": "Gm2esFTeb5LKsb4A2YJGrF2Udycfc0AF8afof2qNGyzNSq1qWM",
|
|
"OAuthTokenSecret": "Kfokor80s5fVue91OmNHidCdILZ9AnHtRplrct2P6Q75jgNTLa",
|
|
"PoolEnabled": false
|
|
},
|
|
"TumblrApi4": {
|
|
"ConsumerKey": "gOuydIEENkRmEvvuf57R69yPRb39FC0Egb9p6ntxWuCuFzlsV3",
|
|
"ConsumerSecret": "0my913slXAHgra4mEEYV98stJ3wXGjPTWJeviiZXwJ2AqzYtIF ",
|
|
"OAuthToken": "JHk08YufSrsetTR1Ekuh10cPOzC6rjqU5WwVu3uV4vvLzp0w8w",
|
|
"OAuthTokenSecret": "1oryr4WMBxuDrt4vL4sJQs5qNagkH3KxwIf61M8SfvklTrhHSb",
|
|
"PoolEnabled": true,
|
|
"Color": "Yellow"
|
|
}
|
|
} |