Skip to content

Commit fccb786

Browse files
committed
3.0.0.2
Added plugins: LPSG, XVIDEOS Updated hosts Deleted IResponserContainer Updated SiteSettingsForm (properties, responser, button, cookies, offset) Updated plugin dependencies Fixed Instagram algo typo
1 parent 2be52c7 commit fccb786

53 files changed

Lines changed: 2703 additions & 121 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Changelog.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
# 3.0.0.2
2+
3+
- Added
4+
- **LPSG** site plugin
5+
- **XVIDEOS** site plugin
6+
- Updated
7+
- Plugin provider
8+
- Fixed
9+
- Minor bugs
10+
111
# 3.0.0.1
212

313
- Added

Plugins.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
List of available plugins
1+
List of available plugins:
2+
- LPSG
3+
- XVIDEOS

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ Do you like this program? Consider adding to my coffee fund by making a donation
5151
- RedGifs
5252
- Imgur
5353
- Gfycat
54+
- LPSG
55+
- XVIDEOS
5456
- [Other sites](Plugins.md)
5557

5658
# How does it works:

SCrawler.Plugin.LPSG/.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[*.vb]
2+
# Modifier preferences
3+
file_header_template = Copyright (C) 2022 Andy\nThis program is free software: you can redistribute it and/or modify\nit under the terms of the GNU General Public License as published by\nthe Free Software Foundation, either version 3 of the License, or\n(at your option) any later version.\n\nThis program is distributed in the hope that it will be useful,\nbut WITHOUT ANY WARRANTY; without even the implied warranty of\nMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\nGNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License\nalong with this program. If not, see <https://www.gnu.org/licenses/>
21.3 KB
Binary file not shown.
656 Bytes
Loading
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
' Copyright (C) 2022 Andy
2+
' This program is free software: you can redistribute it and/or modify
3+
' it under the terms of the GNU General Public License as published by
4+
' the Free Software Foundation, either version 3 of the License, or
5+
' (at your option) any later version.
6+
'
7+
' This program is distributed in the hope that it will be useful,
8+
' but WITHOUT ANY WARRANTY
9+
Imports PersonalUtilities.Functions.RegularExpressions
10+
Friend Module Declarations
11+
Friend ReadOnly Property PhotoRegEx As RParams = RParams.DM("(https://www.lpsg.com/attachments)(.+?)(?="")", 0, RegexReturn.List)
12+
Friend ReadOnly Property NextPageRegex As RParams = RParams.DMS("<link rel=""next"" href=""(.+?/page-(\d+))""", 2)
13+
Private Const FileUrlRegexDefault As String = "(.+[^/]+?)(jpg|jpeg|gif|png)"
14+
Friend ReadOnly Property FileRegEx As New RParams(FileUrlRegexDefault, Nothing, 0) With {
15+
.Converter = Function(ByVal Input As String) As String
16+
If Not Input.IsEmptyString Then
17+
Dim lv$ = Input.Split("-").LastOrDefault
18+
If Not lv.IsEmptyString Then
19+
Input = Input.Replace($"-{lv}", String.Empty)
20+
Input &= $".{lv}"
21+
End If
22+
End If
23+
Return Input
24+
End Function}
25+
Friend ReadOnly Property FileExistsRegEx As RParams = RParams.DMS(FileUrlRegexDefault, 2)
26+
End Module

SCrawler.Plugin.LPSG/My Project/Application.Designer.vb

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<MyApplicationData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
3+
<MySubMain>false</MySubMain>
4+
<SingleInstance>false</SingleInstance>
5+
<ShutdownMode>0</ShutdownMode>
6+
<EnableVisualStyles>true</EnableVisualStyles>
7+
<AuthenticationMode>0</AuthenticationMode>
8+
<ApplicationType>1</ApplicationType>
9+
<SaveMySettingsOnExit>true</SaveMySettingsOnExit>
10+
</MyApplicationData>
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
Imports System.Resources
2+
Imports System
3+
Imports System.Reflection
4+
Imports System.Runtime.InteropServices
5+
6+
' General Information about an assembly is controlled through the following
7+
' set of attributes. Change these attribute values to modify the information
8+
' associated with an assembly.
9+
10+
' Review the values of the assembly attributes
11+
12+
<Assembly: AssemblyTitle("LPSG")>
13+
<Assembly: AssemblyDescription("LPSG plugin for SCrawler")>
14+
<Assembly: AssemblyCompany("AndyProgram")>
15+
<Assembly: AssemblyProduct("LPSG")>
16+
<Assembly: AssemblyCopyright("Copyright © 2022")>
17+
<Assembly: AssemblyTrademark("AndyProgram")>
18+
19+
<Assembly: ComVisible(False)>
20+
21+
'The following GUID is for the ID of the typelib if this project is exposed to COM
22+
<Assembly: Guid("4beaf92d-0566-4331-ad29-034d09a7326f")>
23+
24+
' Version information for an assembly consists of the following four values:
25+
'
26+
' Major Version
27+
' Minor Version
28+
' Build Number
29+
' Revision
30+
'
31+
' You can specify all the values or you can default the Build and Revision Numbers
32+
' by using the '*' as shown below:
33+
' <Assembly: AssemblyVersion("1.0.*")>
34+
35+
<Assembly: AssemblyVersion("1.0.0.0")>
36+
<Assembly: AssemblyFileVersion("1.0.0.0")>
37+
<Assembly: NeutralResourcesLanguage("en")>

0 commit comments

Comments
 (0)