Michał Gajek
Michał Gajek
if anybody needs this, here's the simple workaround using AsyncLocal (as @mpetito did) https://gist.github.com/migajek/ccb4d89d779c348f45f02a16d6179136
passing the same HTML to the CQ instance in a separate program instance produces correct results, none of them is malformed. The problem happens randomly when providing CQ with async/awaited...
unfortunately updating to the prerelease didn't fixed the problem. I was able to reproduce the problem with much simplified link scrapper. The below code is the result of extracting key...
and the source of course ... ``` C# // copyright Michal Gajek, any usage except for CsQuery bug fixing is prohibited using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using...
@jamietre I believe I've found the problem. In fact its not about async/await I guess, it's just because of excessive use in my scenario. All of this happens because of...
It also stores css class names (that's how I found this tokens dictonary, i was just following the call stack). Replacing short with int is not really a solution for...
I don't know CsQuery internals enough but it sounds like a good idea to have shared static **readonly** dictionary for built-in tokens and per-instance dictionary for parsed tokens. Anyway you're...
Hi, it's been a while, any updates here? I'm about to choose HTML parsing engine for a new project, would love to use CsQuery again but I'm afraid of being...
@forkazmoden thanks. I didn't mention my main goal is to use docker SQL Server for local dev environment and unit testing of the process involving bulk insert query, which -...
for me the most handy feature would be the possibility to run the content of the VS Code editor without creating any "project" (via `dotnet script init`) just run VS...