Update SQL logic, add project file, remove TLDB.7z
Added RERUN.sqbpro with SQL queries and DB settings. Enhanced DataAccess.cs filtering for 'zomb-eh' and enabled SQL debug output. Commented out Tumblr URL output in Program.cs for cleaner logs. Deleted TLDB.7z binary archive.
This commit is contained in:
+541
@@ -0,0 +1,541 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?><sqlb_project><db path="D:/NextCloud/C#/URLNotesGrabberCORE/URLNotesGrabberCORE/bin/Debug/net8.0/TL.db" readonly="0" foreign_keys="1" case_sensitive_like="0" temp_store="0" wal_autocheckpoint="1000" synchronous="2"/><attached/><window><main_tabs open="structure browser pragmas query" current="3"/></window><tab_structure><column_width id="0" width="300"/><column_width id="1" width="0"/><column_width id="2" width="100"/><column_width id="3" width="3571"/><column_width id="4" width="0"/><expanded_item id="0" parent="1"/><expanded_item id="1" parent="1"/><expanded_item id="2" parent="1"/><expanded_item id="3" parent="1"/></tab_structure><tab_browse><table title="Notes" custom_title="0" dock_id="4" table="4,5:mainNotes"/><table title="Posts" custom_title="0" dock_id="4" table="4,5:mainPosts"/><dock_state state="000000ff00000000fd00000001000000020000077400000365fc0100000005fb000000160064006f0063006b00420072006f00770073006500310100000000000004a10000000000000000fb000000160064006f0063006b00420072006f00770073006500320100000000000004a10000000000000000fb000000160064006f0063006b00420072006f00770073006500330100000000000004a10000000000000000fb000000160064006f0063006b00420072006f00770073006500350100000000000005f40000000000000000fc0000000000000774000001eb00fffffffa000000010100000002fb000000160064006f0063006b00420072006f00770073006500340100000000ffffffff000001eb00fffffffb000000160064006f0063006b00420072006f00770073006500340100000000ffffffff000001eb00ffffff000007740000000000000004000000040000000800000008fc00000000"/><default_encoding codec=""/><browse_table_settings><table schema="main" name="Blogs" show_row_id="0" encoding="" plot_x_axis="" unlock_view_pk="_rowid_" freeze_columns="0"><sort><column index="3" mode="1"/></sort><column_widths><column index="1" value="257"/><column index="2" value="95"/><column index="3" value="54"/><column index="4" value="70"/></column_widths><filter_values><column index="1" value="<>1"/></filter_values><conditional_formats/><row_id_formats/><display_formats/><hidden_columns/><plot_y_axes/><global_filter/></table><table schema="main" name="Notes" show_row_id="0" encoding="" plot_x_axis="" unlock_view_pk="_rowid_" freeze_columns="0"><sort><column index="4" mode="1"/></sort><column_widths><column index="1" value="207"/><column index="2" value="151"/><column index="3" value="263"/><column index="4" value="127"/><column index="5" value="59"/><column index="6" value="300"/><column index="7" value="191"/></column_widths><filter_values><column index="4" value="/^((?!reblog).)*$/"/></filter_values><conditional_formats/><row_id_formats/><display_formats/><hidden_columns/><plot_y_axes/><global_filter/></table><table schema="main" name="Posts" show_row_id="0" encoding="" plot_x_axis="" unlock_view_pk="_rowid_" freeze_columns="0"><sort><column index="19" mode="1"/></sort><column_widths><column index="1" value="247"/><column index="2" value="151"/><column index="3" value="206"/><column index="4" value="300"/><column index="5" value="110"/><column index="6" value="191"/><column index="7" value="267"/><column index="8" value="116"/><column index="9" value="300"/><column index="10" value="300"/><column index="11" value="119"/><column index="12" value="255"/><column index="13" value="300"/><column index="14" value="71"/><column index="15" value="300"/><column index="16" value="300"/><column index="17" value="59"/><column index="18" value="113"/><column index="19" value="151"/><column index="20" value="300"/><column index="21" value="148"/><column index="22" value="300"/><column index="23" value="300"/><column index="24" value="59"/></column_widths><filter_values><column index="7" value="=1"/><column index="2" value="=1"/><column index="4" value="=0"/></filter_values><conditional_formats/><row_id_formats/><display_formats/><hidden_columns/><plot_y_axes/><global_filter/></table></browse_table_settings></tab_browse><tab_sql><sql name="SQL 1">UPDATE Posts
|
||||
SET HasNotesGathered = 0
|
||||
WHERE (BlogName, PostID) IN (
|
||||
SELECT p.BlogName, p.PostID
|
||||
FROM Posts p
|
||||
WHERE p.HasNotesGathered = 1
|
||||
AND P.notesGatheredDatetime < 1771798752
|
||||
AND EXISTS (
|
||||
SELECT 1
|
||||
FROM Notes n
|
||||
WHERE n.PostID = p.PostID
|
||||
AND n.RootBlogName = p.BlogName
|
||||
--AND n.Type NOT IN ('reblog', 'reply')
|
||||
)
|
||||
ORDER BY p.NotesGatheredDateTime ASC
|
||||
--LIMIT 500
|
||||
);</sql><sql name="SQL 2">select *
|
||||
from Blogs
|
||||
--update blogs set HasBeenOutput = 1
|
||||
where HasBeenOutput = 0
|
||||
AND
|
||||
blogname in
|
||||
(
|
||||
'pleasantcrusadebeard-blog',
|
||||
'little-ms-spooky',
|
||||
'skyhawkmkiv',
|
||||
'setgendertono',
|
||||
'sumetal',
|
||||
'bytorsnwdog',
|
||||
'lastchild-dissapointment',
|
||||
'meesh33699',
|
||||
'zspin',
|
||||
'bagel-bird',
|
||||
'ivegotaheartonfire',
|
||||
'keiths-dolls',
|
||||
'realmeisnotreal-blog',
|
||||
'crazy-ones-world',
|
||||
'mistermaf',
|
||||
'mooncat163',
|
||||
'keepmeoutofyourthoughts',
|
||||
'realityisnotwhatsreal',
|
||||
'thestuffedanimalqueen',
|
||||
'afaceinside',
|
||||
'iwalkedthroughthedoorwithyou',
|
||||
'kcytna',
|
||||
'witchymama-c',
|
||||
'prof-ashraf',
|
||||
'dawson800',
|
||||
'omarindigo',
|
||||
'hassanelazizy',
|
||||
'ruqyia',
|
||||
'misterflesheater',
|
||||
'chobei',
|
||||
'myromance',
|
||||
'gsm007g',
|
||||
'gstopngo',
|
||||
'cloclomonster',
|
||||
'sizzle-with-drizzle',
|
||||
'random-glob-person',
|
||||
'iblufire',
|
||||
'kirah69',
|
||||
'ilovescaredysquirrel2',
|
||||
'destinationhighervibration',
|
||||
'allpaintingnowaiting',
|
||||
'iamaplussizedluckylemon',
|
||||
'shydeaf',
|
||||
'daddyryankimberly7482-blog',
|
||||
'tooiconic',
|
||||
'coldsightsws',
|
||||
'atreyu',
|
||||
'thesaddemon666',
|
||||
'exploringthrupics',
|
||||
'pepepsicaryo',
|
||||
'fangornprincess',
|
||||
'imcal3b',
|
||||
'xelderxemox',
|
||||
'adeadlydull',
|
||||
'delicatecowboi',
|
||||
'dom-india',
|
||||
'dootsie',
|
||||
'ronaldb',
|
||||
'qvite--vexing',
|
||||
'maccloud1592',
|
||||
'mitymo13',
|
||||
'moocowofdoom',
|
||||
'native-rt',
|
||||
'captron101',
|
||||
'downworlder69',
|
||||
'prince-of-the-rodeo',
|
||||
'matisse-things',
|
||||
'sadcucky2',
|
||||
'udynamicchroniclesml',
|
||||
'uinspiringthoughtsqn',
|
||||
'jleitzs1',
|
||||
'hopefulmisanthrope',
|
||||
'kissmewithyourmouth',
|
||||
'idkawtd',
|
||||
'mrweasel2017',
|
||||
'ertzsogood315',
|
||||
'wet-panda',
|
||||
'floridaboy995',
|
||||
'marlborom6969',
|
||||
'justus1977posts',
|
||||
'rox-80-blog',
|
||||
'totalmayhemmmm',
|
||||
'rottenlittleshit',
|
||||
'coolj90',
|
||||
'bowserhightower',
|
||||
'singleguy43',
|
||||
'spiceyginger3',
|
||||
'wunderltd',
|
||||
'lilwh0r3xo',
|
||||
'hereigoagainonmyones',
|
||||
'vitalenuancer',
|
||||
'potionhero',
|
||||
'hamburgerelitist-blog',
|
||||
'0h-my-glob-blog-blog',
|
||||
'gabiitrompetero',
|
||||
'buttcheekdiaries',
|
||||
'suxametonii',
|
||||
'kristenkittycat',
|
||||
'tu-jefa',
|
||||
'slothalgae',
|
||||
'sufridakahlo',
|
||||
'mierdabsurda-blog',
|
||||
'darkamelot',
|
||||
'frankencum',
|
||||
'cuchimiaw',
|
||||
'the-bands-we-love',
|
||||
'pelandobananas',
|
||||
'amiquetuputavida',
|
||||
'nivyii',
|
||||
'nomedarisa',
|
||||
'andres-hmz',
|
||||
'h4r0ld',
|
||||
'heyniebla',
|
||||
'cuntraception-blog',
|
||||
'o11-59',
|
||||
'zoomscua',
|
||||
'laanatomiadelodio',
|
||||
'not---your-princess-anymore',
|
||||
'visitmehigh-blog',
|
||||
'worello-blog',
|
||||
'nextonagin',
|
||||
'limiare',
|
||||
'justicespank',
|
||||
'kx0g',
|
||||
'adorable-lesbians',
|
||||
'mauricioriachuelos',
|
||||
'the-acoustic-sweet-spot',
|
||||
'hahahollllaaa-blog',
|
||||
'fruhling-in-paris',
|
||||
'secre7lyfamous',
|
||||
'unexhausted-blog',
|
||||
'lizamaphone-blog',
|
||||
'chaoswitchquelaag',
|
||||
'franjmartin',
|
||||
'assigned-frog-at-birth',
|
||||
'nocturnalday',
|
||||
'nosequehueahagoaqui-blog',
|
||||
'greggskii',
|
||||
'unhumanrooster',
|
||||
'yaggotorres',
|
||||
'bitelero-blog',
|
||||
'goodfunwithahandgun',
|
||||
'anarkopiper',
|
||||
'tonyclarks',
|
||||
'empireof-dirt',
|
||||
'stop-breathe-smile-xo-blog',
|
||||
'jimmy-is-nerd',
|
||||
'fcukingjokes-blog',
|
||||
'nancy-pancy',
|
||||
'pantiesnifer-blog',
|
||||
'protocrypto',
|
||||
'cheekygoober',
|
||||
'chochelius',
|
||||
'hologrma',
|
||||
'cassiecupcake-blog',
|
||||
'k2m206-blog',
|
||||
'leedeegaga',
|
||||
'luisfo',
|
||||
'thekylainkylaisfantastical-blog',
|
||||
'peoresnada182-blog',
|
||||
'fofellie',
|
||||
'katpuss-blog',
|
||||
'meditacion-etilika',
|
||||
'martinespiral-blog-blog-blog',
|
||||
'20591',
|
||||
'swords-dance',
|
||||
'cokethekid',
|
||||
'theinternationalcanary-blog',
|
||||
'bitchevaporate-blog',
|
||||
'veamos1je2-blog',
|
||||
'maid450',
|
||||
'charquicandenews-blog',
|
||||
'poopydoo',
|
||||
'follancianas-blog',
|
||||
'wordsinmyskin-blog',
|
||||
'binarianworld',
|
||||
'wittyoriginalurl',
|
||||
'heavy-lies-the-cr0wn',
|
||||
'ajencerrado',
|
||||
'rufus101289',
|
||||
'silvermenthol',
|
||||
'tutube',
|
||||
'selfish-wishes',
|
||||
'xslt',
|
||||
'thesleepypikachu101',
|
||||
'luminisciente',
|
||||
'uriskpuck',
|
||||
'bermont',
|
||||
'duarted',
|
||||
'thebasedfive',
|
||||
'errormacro-blog',
|
||||
'blueswicks-blog',
|
||||
'tardeymal-blog',
|
||||
'brujorojasdeprecated',
|
||||
'eldetijuana',
|
||||
'antiguoshimalayas',
|
||||
'frogitsme',
|
||||
'jagg19',
|
||||
'darkfowar',
|
||||
'higanbanathan',
|
||||
'giioh',
|
||||
'underarrowr',
|
||||
'alguienyatienemiurl',
|
||||
'ortegita',
|
||||
'fuckyeahprocrastinator-blog-blog',
|
||||
'hitokiricl-blog',
|
||||
'kingofb',
|
||||
'coffencing',
|
||||
'xnothingx',
|
||||
'rock-feel-live',
|
||||
'international-industries',
|
||||
'theanatomyofahangover',
|
||||
'middleschools-blog',
|
||||
'rizalwithouttheovercoat',
|
||||
'hdbskhdhak',
|
||||
'orchid-nebula',
|
||||
'sibuenono',
|
||||
'monrre',
|
||||
'quetedije',
|
||||
'justonea',
|
||||
'tunalunatic',
|
||||
'angusbeat',
|
||||
'pelusaur',
|
||||
'obsonivfx',
|
||||
'lunnalien',
|
||||
'shablagoo',
|
||||
'lainteligenciamepersigue',
|
||||
'lancelottnsfw',
|
||||
'blueberrynachos',
|
||||
'50shadesofbrownie',
|
||||
'texas-wandering',
|
||||
'ssgtawesome',
|
||||
'genesis-does',
|
||||
'misadventures-of-lauren',
|
||||
'w00ble12-blog',
|
||||
'tylerzyazul',
|
||||
'glaciesdraco',
|
||||
'fullmetalvenom',
|
||||
'lifeguardinthesharktank',
|
||||
'godinbirdsandsataninlongwords',
|
||||
'livelonglovelife',
|
||||
'letlive-inthedepths',
|
||||
'funeralbelle1',
|
||||
'sleepingpeelz',
|
||||
'cutie-with-a-b00ty',
|
||||
'chokerjoker',
|
||||
'stuffofjosh',
|
||||
'chasescott',
|
||||
'thecutestlittlebunbunfairy',
|
||||
'thewalkingscandal',
|
||||
'valloir',
|
||||
'akiraratsuraart',
|
||||
'longlifenerdking',
|
||||
'bertau28-blog',
|
||||
'littlemissmissy',
|
||||
'icecreamandeviscerations',
|
||||
'emtvacation',
|
||||
'maemismile',
|
||||
'coffeestainedcalamity',
|
||||
'honestlytrulymaybe',
|
||||
'mrsrayiito',
|
||||
'violenceinjupiter',
|
||||
'atttchooooluieieiieiie',
|
||||
'coimbrafilho',
|
||||
'jagneta',
|
||||
'gloamvalley',
|
||||
'railheaven',
|
||||
'1974volvo',
|
||||
'isukatgam1ng',
|
||||
'matted33',
|
||||
'becausetrains',
|
||||
'worldwiderails',
|
||||
'charlesdiasme',
|
||||
'searre',
|
||||
'railway-express',
|
||||
'polaris395',
|
||||
'solitude-now',
|
||||
'nim-z',
|
||||
'kingofcrete',
|
||||
'lorde-of-the-rails',
|
||||
'ptb8751',
|
||||
'capewolfe',
|
||||
'tarandur',
|
||||
'chrunnous',
|
||||
'elitekulturen',
|
||||
'shornd',
|
||||
'garethgraves',
|
||||
'thehylianinthetardis',
|
||||
'meubrucar',
|
||||
'poroussoul',
|
||||
'thefakeray',
|
||||
'theninthdoctortrainlord',
|
||||
'maninkilt',
|
||||
'northcountryman',
|
||||
'restrictedapproach',
|
||||
'hein-eken',
|
||||
'qstation',
|
||||
'impureheart',
|
||||
'edward-snowdenhands',
|
||||
'streamlinedtrains',
|
||||
'rychillacases',
|
||||
'wncrails',
|
||||
'curious-ever',
|
||||
'miamiextra',
|
||||
'soft-but-ready',
|
||||
'bellarose357',
|
||||
'gnostix1',
|
||||
'armoredwalrus',
|
||||
'greatnorthernofficial',
|
||||
'jahnwy',
|
||||
'maschio61',
|
||||
'boonatoot',
|
||||
'qsai',
|
||||
'whitedogblog',
|
||||
'allaboutwheels',
|
||||
'theoca',
|
||||
'exdraghunt',
|
||||
'take-me-away-quietly',
|
||||
'people-places-things-etc',
|
||||
'timbo5404',
|
||||
'jeremylawson',
|
||||
'henkara',
|
||||
'stressedndepressedlol',
|
||||
'siderods',
|
||||
'littlewestern',
|
||||
'identifyingtrainsinposts',
|
||||
'amisplacedalphabet',
|
||||
'belle-aesthetics',
|
||||
'american-railroading',
|
||||
'firecooking',
|
||||
'coolduucks',
|
||||
'pajjorimre',
|
||||
'stillnotspamdog',
|
||||
'legendarycashshoekid',
|
||||
'dungeon-unionism',
|
||||
'dracobibliobibulus',
|
||||
'greatwesternway',
|
||||
'metalpancam',
|
||||
'espee-southernpacifc',
|
||||
'itsongecau-blog',
|
||||
'gimme-choco',
|
||||
'mr-wizard-2',
|
||||
'cupcakesinwonderland80',
|
||||
'kryptakronickudalite',
|
||||
'darling-nothing-isokay',
|
||||
'miss-countess-von-fingerbang',
|
||||
'violets-n-lavender',
|
||||
'impostergir007',
|
||||
'ashleyandred',
|
||||
'bizarresalmiac',
|
||||
'themightyseaunicorn',
|
||||
'terminalfish',
|
||||
'sanguine----queen',
|
||||
'versaceking',
|
||||
'become-one-with-noodle',
|
||||
'afuture-animator',
|
||||
'munch-the-moon',
|
||||
'fleshkiller',
|
||||
'dancing-cockroaches',
|
||||
'kyuubicore',
|
||||
'rollsnoice',
|
||||
'redrum-all-around-me',
|
||||
'stone425',
|
||||
'daydreambeliever1994',
|
||||
'keefers323',
|
||||
'raspberri-iced-tea',
|
||||
'dukethebear85',
|
||||
'thistooisyuri-ttv',
|
||||
'sadond',
|
||||
'noodlekid',
|
||||
'eggmaster6',
|
||||
'raybuggybug',
|
||||
'imaginestillback',
|
||||
'satan-is-hungry',
|
||||
'maripos-ita',
|
||||
'myloveisforever56',
|
||||
'canarysings',
|
||||
'heikotheimperial',
|
||||
'somewhereinthefog',
|
||||
'the-beautifultragedy',
|
||||
'chronicallydramatic',
|
||||
'selectedambientwerks',
|
||||
'thottyvondoggy',
|
||||
'letsrevince',
|
||||
'purpleshewolf',
|
||||
'3p3rsz3l',
|
||||
'thirstykurapika',
|
||||
'over-exxposed',
|
||||
'chubaccas',
|
||||
'celadonisle',
|
||||
'lesbiandumbbitch',
|
||||
'silver-and-gold27',
|
||||
'teagrounebulous',
|
||||
'miscreantfromnarnia',
|
||||
'pajamas24-7',
|
||||
'edgeprincess30',
|
||||
'chicxconpelorosa',
|
||||
'badbitchandco',
|
||||
'a-hot-cuppa',
|
||||
'ohyesizzy',
|
||||
'inhuman-place-human-monsters',
|
||||
'andthentheywilleatthestars',
|
||||
'essencse',
|
||||
'bard-of-time',
|
||||
'elementale',
|
||||
'riddleseekers',
|
||||
'drowningincolorfultears',
|
||||
'alienk1ng',
|
||||
'clarified',
|
||||
'flannel-penguin',
|
||||
'jestercult',
|
||||
'tigaren',
|
||||
'kingoftheclowns',
|
||||
'yougotofastforme',
|
||||
'geekylittlej',
|
||||
'whyinthewild',
|
||||
'yahenni',
|
||||
'pepperstrawberry',
|
||||
'herecomesthasexy-boom',
|
||||
'jovannidanda',
|
||||
'svtudio',
|
||||
'grown-man-cries',
|
||||
'reganpaige',
|
||||
'more-silver-than-gold',
|
||||
'excaliburunleashed',
|
||||
'a-literal-cat',
|
||||
'kelp-kelp',
|
||||
'halcyon79',
|
||||
'moonodyssey1994',
|
||||
'flamedanser',
|
||||
'flaming-ball-of-basil',
|
||||
'df-is-going-on',
|
||||
'grandmapattytabs',
|
||||
'rainyfdayz',
|
||||
'goodfellowss',
|
||||
'perchs-place',
|
||||
'saberomega',
|
||||
'polarspur',
|
||||
'unprincessleah',
|
||||
'robophantom',
|
||||
'f1uffy-turtle',
|
||||
'whitetrashgrandpa',
|
||||
'the-perplexed-spoon',
|
||||
'litpit9000',
|
||||
'kreepykate',
|
||||
'ohthenovelty',
|
||||
'jaidskywalker',
|
||||
'not-just-another-juno',
|
||||
'peaches-008',
|
||||
'space-transgressor',
|
||||
'makeshiftdhole',
|
||||
'imschlamm',
|
||||
'post-hummus-leigh',
|
||||
'na-ta-ri',
|
||||
'violasarenottheanswer',
|
||||
'geekitygeek',
|
||||
'colagummy',
|
||||
'surprise-bisexual',
|
||||
'the-mad-loki',
|
||||
'guava-jelly420-blog',
|
||||
'curiousmsmeg',
|
||||
'boredwithmyself71',
|
||||
'petronyx',
|
||||
'boabeyyy',
|
||||
'the-taste-of-stardust',
|
||||
'bbgirla',
|
||||
'postergirlwithnoposter',
|
||||
'becckali-blog',
|
||||
'personspeople',
|
||||
'inluvwithagirl',
|
||||
'voodoo-mamajuju',
|
||||
'hauntedbiscuit',
|
||||
'aimforthestars15',
|
||||
'thealphabagel',
|
||||
'wolfpupwannabe',
|
||||
'fairy-faun',
|
||||
'cheetah-reblogs-shit',
|
||||
'tropicalwave',
|
||||
'populusnix',
|
||||
'the-glitter-acetylcholine',
|
||||
'levis-pajamas',
|
||||
'strawberrycreamcheese',
|
||||
'exterminate-ak',
|
||||
'amoderntragedy',
|
||||
'rat-in-impossible-location',
|
||||
'incdrop',
|
||||
'roguegoblin',
|
||||
'official-yimyams',
|
||||
'foodscarf',
|
||||
'databent',
|
||||
'doctorcorbys-junkdrawer',
|
||||
'angiric',
|
||||
'silkw0rm',
|
||||
'themarionettequintet',
|
||||
'sayitwithbullets',
|
||||
'unfortunatemizeria',
|
||||
'smallbabywerewolf',
|
||||
'mystical-space-witch',
|
||||
'snepdragon',
|
||||
'rainbow-smite'
|
||||
)</sql><sql name="SQL 3*">select RootBlogName, PostID, NoteBlogName || '.tumblr.com' as NoteBlogName, DatetimeCrawled, TimeStamp, type, RootBlogName || '.tumblr.com/post/' || postid, datetime(timestamp, 'unixepoch')
|
||||
from Notes
|
||||
where --type like 'r%' and
|
||||
DatetimeCrawled <> '2/12/26 12am'
|
||||
order by DatetimeCrawled desc, TimeStamp desc</sql><sql name="SQL 5">select *
|
||||
--
|
||||
from notes where RootBlogName = 'vaguelydoomed'</sql><sql name="SQL 5">SELECT distinct
|
||||
blogs.*
|
||||
FROM
|
||||
Blogs
|
||||
inner JOIN
|
||||
Notes on notes.noteBlogName = blogs.BlogName
|
||||
WHERE
|
||||
HasBeenOutput = 0
|
||||
order by
|
||||
Notes.Type desc,
|
||||
DateAdded desc
|
||||
LIMIT 500;</sql><current_tab id="2"/></tab_sql></sqlb_project>
|
||||
@@ -342,7 +342,10 @@ namespace URLNotesGrabberCORE
|
||||
"WHERE NotFound = 0 AND HasImage = 1 AND DownloadedFiles <> '.' " + Environment.NewLine;
|
||||
|
||||
if (withoutNotesOnly)
|
||||
{
|
||||
sql += " and HasNotesGathered = 0 " + Environment.NewLine;
|
||||
sql += "OR ( Posts.blogname = 'zomb-eh' and [notesGatheredDateTime] > datetime('now', 'localtime', '-1 day') and ( ( postdate > '1/1/26' or ( HasNotesGathered = 1 and PostDate > '8/1/23' ) ) ) )" + Environment.NewLine;
|
||||
}
|
||||
|
||||
// Filter by NotesGatheredDateTime if beforeDate is provided
|
||||
if (beforeDate.HasValue)
|
||||
@@ -356,9 +359,9 @@ namespace URLNotesGrabberCORE
|
||||
"ORDER BY " + Environment.NewLine +
|
||||
" notesgathereddatetime, Posts.PostDate desc, Posts.BlogName, Posts.PostID" + Environment.NewLine;
|
||||
|
||||
//Console.WriteLine(withoutNotesOnly);
|
||||
//Console.WriteLine(sql);
|
||||
//Console.Write(">"); //Console.ReadKey();
|
||||
Console.WriteLine(withoutNotesOnly);
|
||||
Console.WriteLine(sql);
|
||||
Console.Write(">"); //Console.ReadKey();
|
||||
//Thread.Sleep(250);
|
||||
|
||||
using (SQLiteCommand command = new SQLiteCommand(sql, connection))
|
||||
|
||||
@@ -652,7 +652,7 @@ namespace URLNotesGrabberCORE
|
||||
postsAdded++;
|
||||
|
||||
// Output hyperlink and post date
|
||||
Console.WriteLine($"https://{reblog.reblogName}.tumblr.com/post/{reblog.postID} - {reblog.date}");
|
||||
//Console.WriteLine($"https://{reblog.reblogName}.tumblr.com/post/{reblog.postID} - {reblog.date}");
|
||||
}
|
||||
}
|
||||
reblog = new ReblogRecord();
|
||||
@@ -773,7 +773,7 @@ namespace URLNotesGrabberCORE
|
||||
postsAdded++;
|
||||
|
||||
// Output hyperlink and post date
|
||||
Console.WriteLine($"https://{reblog.reblogName}.tumblr.com/post/{reblog.postID} - {reblog.date}");
|
||||
//Console.WriteLine($"https://{reblog.reblogName}.tumblr.com/post/{reblog.postID} - {reblog.date}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Binary file not shown.
Reference in New Issue
Block a user