Obtaining list of videos from a youtube playlist with Stankins

Because Stankins has a parser to html, you can have this kind of macro

#see all href

Stankins.HTML.ReceiverHtmlAHref file=https://www.youtube.com/playlist?list=PL4aSKgR4yk4OnmJW6PlBuDOXdYk6zTGps

#retain href column
StankinsObjects.FilterRetainColumnDataContains namecolumn=href stringToHave=PL4aSKgR4yk4OnmJW6PlBuDOXdYk6zTGps

#retain just videos which title contains 5Min

StankinsObjects.FilterRetainColumnDataContains namecolumn=a_text stringToHave=5Min

#remove column a_html

StankinsObjects.FilterRemoveColumn namecolumn=a_html

#transform column to li a href

StankinsObjects.TransformerAddColumnExpressionByTable expression=”‘<li><a href=’+ href+’>’ + a_text+'</a></li>'” newcolumnname=test nametable=TableLinks

#remove column href

StankinsObjects.FilterRemoveColumn namecolumn=href

#remove column a_text

StankinsObjects.FilterRemoveColumn namecolumn=a_text

 

The demo is at

https://azurestankins.azurewebsites.net/recipe/youtubeplaylist

DotNet CLI Tools

There is a revival of CLI tools. And dotnet is going with the wave.

You can find the tools installed with .NET Core here , https://docs.microsoft.com/en-us/dotnet/core/tools/?tabs=netcore2x  and here https://docs.microsoft.com/en-us/dotnet/core/additional-tools/

 

Usually you do not need those – since Visual Studio is good to have all from the GUI.

However, you can make your own tool – and you have the instruction here: https://docs.microsoft.com/en-us/dotnet/core/tools/global-tools-how-to-create

But, before re-inventing the wheel, take a look at the list here https://github.com/natemcmaster/dotnet-tools

I have used for AzureDevOps CI:

  1.  https://github.com/tonerdo/coverlet 
  2. https://github.com/ignatandrei/AOP_With_Roslyn
  3. https://github.com/loresoft/DotNet.Property
  4. https://github.com/SonarSource/sonar-scanner-msbuild
  5. https://github.com/KrystianKolad/DotnetThx
  6. https://github.com/danielpalme/ReportGenerator/
  7. https://github.com/Hubert-Rybak/dotnet-warp
  8. https://github.com/aspnet/AspNetCore/tree/master/src/Tools/dotnet-watch

 

Did you use some CLI tools?

Andrei Ignat weekly software news(mostly .NET)

* indicates required

Please select all the ways you would like to hear from me:

You can unsubscribe at any time by clicking the link in the footer of our emails. For information about our privacy practices, please visit our website.

We use Mailchimp as our marketing platform. By clicking below to subscribe, you acknowledge that your information will be transferred to Mailchimp for processing. Learn more about Mailchimp's privacy practices here.