master
Laurent 4 years ago
parent c5ee5b6110
commit c422b33e30
  1. 140
      TournamentStats.xcodeproj/xcuserdata/laurent.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
  2. 115
      TournamentStats/scrapper/Downloader.swift

@ -3,144 +3,4 @@
uuid = "1504355E-5C6A-4661-B8C8-D3E53DFCCF72" uuid = "1504355E-5C6A-4661-B8C8-D3E53DFCCF72"
type = "1" type = "1"
version = "2.0"> version = "2.0">
<Breakpoints>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.SwiftErrorBreakpoint">
<BreakpointContent
uuid = "3D88382A-6B29-47FD-B0A9-2E02E048A5C9"
shouldBeEnabled = "Yes"
ignoreCount = "0"
continueAfterRunningActions = "No">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "05A1580E-F8CE-46C5-B316-B1A794FA8901"
shouldBeEnabled = "No"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "TournamentStats/report/ReportGenerator.swift"
timestampString = "588847576.95691"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "87"
endingLineNumber = "87"
landmarkName = "generateReports()"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "91393E94-F99E-454E-870D-3607BD52A526"
shouldBeEnabled = "No"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "TournamentStats/scrapper/Downloader.swift"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "239"
endingLineNumber = "239"
landmarkName = "downloadWSOPResults(url:date:currentTournament:)"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "8EAA1801-927A-4D42-AAC7-96B223EC35EA"
shouldBeEnabled = "No"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "TournamentStats/scrapper/Downloader.swift"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "213"
endingLineNumber = "213"
landmarkName = "downloadWSOPResults(url:date:currentTournament:)"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "37B18729-0E73-446F-A4A0-78BD0889E540"
shouldBeEnabled = "No"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "TournamentStats/scrapper/Downloader.swift"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "189"
endingLineNumber = "189"
landmarkName = "downloadWSOPResults(url:date:currentTournament:)"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "F8D95672-5E0A-410C-A88C-D3E78718B0D2"
shouldBeEnabled = "No"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "TournamentStats/scrapper/Downloader.swift"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "182"
endingLineNumber = "182"
landmarkName = "downloadWSOPResults(url:date:currentTournament:)"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "255628B7-E5D2-4291-9802-95B2C5A94551"
shouldBeEnabled = "No"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "TournamentStats/scrapper/Downloader.swift"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "190"
endingLineNumber = "190"
landmarkName = "downloadWSOPResults(url:date:currentTournament:)"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "40BBE6DB-045D-441E-8010-658F20BFBC7B"
shouldBeEnabled = "No"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "TournamentStats/scrapper/Downloader.swift"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "205"
endingLineNumber = "205"
landmarkName = "downloadWSOPResults(url:date:currentTournament:)"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
<BreakpointProxy
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
<BreakpointContent
uuid = "69130FF4-CCC1-42A0-8126-67995ED22414"
shouldBeEnabled = "No"
ignoreCount = "0"
continueAfterRunningActions = "No"
filePath = "TournamentStats/report/ReportGenerator.swift"
startingColumnNumber = "9223372036854775807"
endingColumnNumber = "9223372036854775807"
startingLineNumber = "114"
endingLineNumber = "114"
landmarkName = "generateReports()"
landmarkType = "7">
</BreakpointContent>
</BreakpointProxy>
</Breakpoints>
</Bucket> </Bucket>

@ -19,64 +19,65 @@ class Downloader {
static func downloadWSOPResults() { static func downloadWSOPResults() {
let infos: [TS] = [ let infos: [TS] = [
// TS(id: "19728", date: "02/10/2021"), TS(id: "19728", date: "02/10/2021"),
// TS(id: "19729", date: "03/10/2021"), TS(id: "19729", date: "03/10/2021"),
// TS(id: "19730", date: "02/10/2021"), TS(id: "19730", date: "02/10/2021"),
// TS(id: "19732", date: "04/10/2021"), TS(id: "19732", date: "04/10/2021"),
// TS(id: "19733", date: "05/10/2021"), TS(id: "19733", date: "05/10/2021"),
// TS(id: "19731", date: "06/10/2021"), TS(id: "19731", date: "06/10/2021"),
// TS(id: "19734", date: "06/10/2021"), TS(id: "19734", date: "06/10/2021"),
// TS(id: "19926", date: "06/10/2021"), TS(id: "19926", date: "06/10/2021"),
// TS(id: "19927", date: "06/10/2021"), TS(id: "19927", date: "06/10/2021"),
// TS(id: "19737", date: "06/10/2021"), TS(id: "19737", date: "06/10/2021"),
// TS(id: "19735", date: "07/10/2021"), TS(id: "19735", date: "07/10/2021"),
// TS(id: "19736", date: "08/10/2021"), TS(id: "19736", date: "08/10/2021"),
// TS(id: "19738", date: "08/10/2021"), TS(id: "19738", date: "08/10/2021"),
// TS(id: "19739", date: "08/10/2021"), TS(id: "19739", date: "08/10/2021"),
// TS(id: "19740", date: "09/10/2021"), TS(id: "19740", date: "09/10/2021"),
// TS(id: "19741", date: "09/10/2021"), TS(id: "19741", date: "09/10/2021"),
// TS(id: "19742", date: "11/10/2021"), TS(id: "19742", date: "11/10/2021"),
// TS(id: "19743", date: "11/10/2021"), TS(id: "19743", date: "11/10/2021"),
// TS(id: "19745", date: "12/10/2021"), TS(id: "19745", date: "12/10/2021"),
// TS(id: "19747", date: "12/10/2021"), TS(id: "19747", date: "12/10/2021"),
// TS(id: "19748", date: "12/10/2021"), TS(id: "19748", date: "12/10/2021"),
// TS(id: "19749", date: "13/10/2021"), TS(id: "19749", date: "13/10/2021"),
// TS(id: "19744", date: "14/10/2021"), TS(id: "19744", date: "14/10/2021"),
// TS(id: "19751", date: "14/10/2021"), TS(id: "19751", date: "14/10/2021"),
// TS(id: "19752", date: "14/10/2021"), TS(id: "19752", date: "14/10/2021"),
// TS(id: "19750", date: "15/10/2021"), TS(id: "19750", date: "15/10/2021"),
// TS(id: "19754", date: "15/10/2021"), TS(id: "19754", date: "15/10/2021"),
// TS(id: "19753", date: "16/10/2021"), TS(id: "19753", date: "16/10/2021"),
// TS(id: "19755", date: "16/10/2021"), TS(id: "19755", date: "16/10/2021"),
// TS(id: "19756", date: "17/10/2021"), TS(id: "19756", date: "17/10/2021"),
// TS(id: "19757", date: "17/10/2021"), TS(id: "19757", date: "17/10/2021"),
// TS(id: "19759", date: "17/10/2021"), TS(id: "19759", date: "17/10/2021"),
// TS(id: "19761", date: "19/10/2021"), TS(id: "19761", date: "19/10/2021"),
// TS(id: "19762", date: "19/10/2021"), TS(id: "19762", date: "19/10/2021"),
// TS(id: "19758", date: "20/10/2021"), TS(id: "19758", date: "20/10/2021"),
// TS(id: "19763", date: "20/10/2021"), TS(id: "19763", date: "20/10/2021"),
// TS(id: "19764", date: "20/10/2021"), TS(id: "19764", date: "20/10/2021"),
// TS(id: "19765", date: "21/10/2021"), TS(id: "19765", date: "21/10/2021"),
// TS(id: "19766", date: "21/10/2021"), TS(id: "19766", date: "21/10/2021"),
// TS(id: "19767", date: "22/10/2021"), TS(id: "19767", date: "22/10/2021"),
// TS(id: "19768", date: "23/10/2021"), TS(id: "19768", date: "23/10/2021"),
// TS(id: "19769", date: "24/10/2021"), TS(id: "19769", date: "24/10/2021"),
// TS(id: "19770", date: "24/10/2021"), TS(id: "19770", date: "24/10/2021"),
// TS(id: "19771", date: "24/10/2021"), TS(id: "19771", date: "24/10/2021"),
// TS(id: "19832", date: "25/10/2021"), TS(id: "19832", date: "25/10/2021"),
// TS(id: "19774", date: "26/10/2021"), TS(id: "19774", date: "26/10/2021"),
// TS(id: "19772", date: "27/10/2021"), TS(id: "19772", date: "27/10/2021"),
// TS(id: "19773", date: "27/10/2021"), TS(id: "19773", date: "27/10/2021"),
// TS(id: "19775", date: "27/10/2021"), TS(id: "19775", date: "27/10/2021"),
// TS(id: "19776", date: "28/10/2021"), TS(id: "19776", date: "28/10/2021"),
// TS(id: "19778", date: "28/10/2021"), TS(id: "19778", date: "28/10/2021"),
// TS(id: "19779", date: "28/10/2021"), TS(id: "19779", date: "28/10/2021"),
// TS(id: "19780", date: "28/10/2021"), TS(id: "19780", date: "28/10/2021"),
// TS(id: "19782", date: "31/10/2021"), TS(id: "19782", date: "31/10/2021"),
// TS(id: "19784", date: "31/10/2021"), TS(id: "19784", date: "31/10/2021"),
TS(id: "19781", date: "01/11/2021"), TS(id: "19781", date: "01/11/2021"),
TS(id: "19786", date: "01/11/2021"), TS(id: "19786", date: "01/11/2021"),
TS(id: "19785", date: "02/11/2021"),
TS(id: "19788", date: "02/11/2021"),
] ]
for info in infos { for info in infos {
@ -275,7 +276,7 @@ class Downloader {
} }
} catch { } catch {
print(error) print("some error = \(error)")
} }
} }

Loading…
Cancel
Save