@@ -11,6 +11,7 @@ Imports SCrawler.Plugin
1111Imports SCrawler.Plugin.Attributes
1212Imports PersonalUtilities.Forms
1313Imports PersonalUtilities.Functions.XML
14+ Imports PersonalUtilities.Functions.XML.Objects
1415Imports PersonalUtilities.Functions.XML.Base
1516Imports PersonalUtilities.Functions.RegularExpressions
1617Imports PersonalUtilities.Tools.Web.Clients
@@ -237,12 +238,12 @@ Namespace API.Instagram
237238 TaggedNotifyLimit = New PropertyValue( 200 )
238239 TaggedNotifyLimitProvider = New TaggedNotifyLimitChecker
239240
240- DownloadingErrorDate = New XMLValue( Of Date ) With {.Provider = New XMLValueConversionProvider( Function (ss, vv ) AConvert( Of String )(vv, AModes.Var, Nothing ))}
241+ DownloadingErrorDate = New XMLValue( Of Date ) With {.Provider = New XMLValueConversionProvider( Function (ss, nn, vv, dd ) AConvert( Of String )(vv, AModes.Var, Nothing ))}
241242 DownloadingErrorDate.SetExtended( "InstagramDownloadingErrorDate" , Now.AddYears(- 10 ), _XML, n)
242243 LastDownloadDate = New XMLValue( Of Date )( "LastDownloadDate" , Now.AddDays(- 1 ), _XML, n)
243244 LastRequestsCount = New XMLValue( Of Integer )( "LastRequestsCount" , 0 , _XML, n)
244245 LastRequestsCountLabel = New PropertyValue(LastRequestsCountLabelStr.Invoke(LastRequestsCount.Value))
245- AddHandler LastRequestsCount.OnValueChanged , Sub (sender, __name, __value ) LastRequestsCountLabel.Value = LastRequestsCountLabelStr.Invoke( DirectCast (__value, Existable (Of Integer )).Value)
246+ AddHandler LastRequestsCount.ValueChanged , Sub (sender, e ) LastRequestsCountLabel.Value = LastRequestsCountLabelStr.Invoke( DirectCast (sender, XMLValue (Of Integer )).ValueF .Value)
246247
247248 UrlPatternUser = "https://www.instagram.com/{0}/"
248249 UserRegex = RParams.DMS( "[htps:/]{7,8}.*?instagram.com/([^/]+)" , 1 )
0 commit comments