mirror of
https://github.com/hama3254/Crunchyroll-Downloader-v3.0.git
synced 2025-01-11 15:59:16 +01:00
fix movie issues
fix issues with movie names
This commit is contained in:
parent
9147ce543c
commit
c49cbc0be3
Binary file not shown.
@ -1204,6 +1204,18 @@ Public Class Main
|
||||
CR_Anime_Name = String.Join(" ", CR_Name_2(0).Split(invalids, StringSplitOptions.RemoveEmptyEntries)).TrimEnd("."c).Replace(Chr(34), "").Replace("\", "").Replace("/", "") 'System.Text.RegularExpressions.Regex.Replace(CR_Name_2(0), "[^\w\\-]", " ")
|
||||
CR_Anime_Name = RemoveExtraSpaces(CR_Anime_Name)
|
||||
End If
|
||||
|
||||
If CR_Anime_Titel = Nothing Then 'it's a movie??
|
||||
|
||||
Dim CR_Name_1 As String() = WebbrowserText.Split(New String() {My.Resources.CR_MovieTop}, System.StringSplitOptions.RemoveEmptyEntries)
|
||||
Dim CR_Name_2 As String() = CR_Name_1(2).Split(New String() {My.Resources.CR_MovieBT}, System.StringSplitOptions.RemoveEmptyEntries) '(New [Char]() {"-"})
|
||||
CR_Anime_Titel = String.Join(" ", CR_Name_2(0).Split(invalids, StringSplitOptions.RemoveEmptyEntries)).TrimEnd("."c).Replace(Chr(34), "").Replace("\", "").Replace("/", "") 'System.Text.RegularExpressions.Regex.Replace(CR_Name_2(0), "[^\w\\-]", " ")
|
||||
CR_Anime_Titel = RemoveExtraSpaces(CR_Anime_Titel)
|
||||
|
||||
|
||||
End If
|
||||
|
||||
|
||||
If Season_Prefix = "[default season prefix]" Then
|
||||
Else
|
||||
If CR_Anime_Staffel_int = "0" Then
|
||||
@ -1212,10 +1224,18 @@ Public Class Main
|
||||
End If
|
||||
End If
|
||||
If Episode_Prefix = "[default episode prefix]" Then
|
||||
If CR_Anime_Folge_int = Nothing Then
|
||||
|
||||
Else
|
||||
CR_Anime_Folge = CR_Anime_Folge.Replace(CR_Anime_Folge_int, AddLeadingZeros(CR_Anime_Folge_int))
|
||||
End If
|
||||
Else
|
||||
If CR_Anime_Folge_int = Nothing Then
|
||||
Else
|
||||
CR_Anime_Folge = Episode_Prefix + AddLeadingZeros(CR_Anime_Folge_int)
|
||||
End If
|
||||
End If
|
||||
|
||||
If CR_Anime_Titel = Nothing Then
|
||||
CR_FilenName = CR_Anime_Name
|
||||
ElseIf CR_NameMethode = 0 Then
|
||||
|
@ -178,6 +178,24 @@ Namespace My.Resources
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die </span> ähnelt.
|
||||
'''</summary>
|
||||
Friend ReadOnly Property CR_MovieBT() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("CR_MovieBT", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die <span itemprop="name"> ähnelt.
|
||||
'''</summary>
|
||||
Friend ReadOnly Property CR_MovieTop() As String
|
||||
Get
|
||||
Return ResourceManager.GetString("CR_MovieTop", resourceCulture)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
'''<summary>
|
||||
''' Sucht eine lokalisierte Zeichenfolge, die seasonNumber":" ähnelt.
|
||||
'''</summary>
|
||||
|
@ -513,4 +513,10 @@ Dialogue: 0,0:00:00.00,0:00:00.00,Default,,0000,0000,0000,,some ideas on how tem
|
||||
<data name="main_mini_dark_hover" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\main-mini_dark_hover.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
|
||||
</data>
|
||||
<data name="CR_MovieBT" xml:space="preserve">
|
||||
<value></span></value>
|
||||
</data>
|
||||
<data name="CR_MovieTop" xml:space="preserve">
|
||||
<value><span itemprop="name"></value>
|
||||
</data>
|
||||
</root>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user