Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
liyonghuan committed Sep 30, 2019
0 parents commit 9ab0a6e
Show file tree
Hide file tree
Showing 51 changed files with 2,054 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/.vs
25 changes: 25 additions & 0 deletions QzoneAssistant.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.29324.140
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "QzoneAssistant", "QzoneAssistant\QzoneAssistant.csproj", "{9696584F-D754-442A-9F1F-EB2AA68FAA49}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{9696584F-D754-442A-9F1F-EB2AA68FAA49}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9696584F-D754-442A-9F1F-EB2AA68FAA49}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9696584F-D754-442A-9F1F-EB2AA68FAA49}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9696584F-D754-442A-9F1F-EB2AA68FAA49}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {55175A65-CED6-44C2-B07D-2C04AC8BF1AF}
EndGlobalSection
EndGlobal
12 changes: 12 additions & 0 deletions QzoneAssistant/App.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
<appSettings>
<add key="uin" value="" />
<add key="host_uin" value="" />
<add key="g_tk" value="0" />
<add key="cookie" value="" />
</appSettings>
</configuration>
24 changes: 24 additions & 0 deletions QzoneAssistant/Constants.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static QzoneSpider.QzonePhoto;

namespace QzoneSpider
{
class Constants
{
public const string QZONE_ALBUM_LIST = "https://h5.qzone.qq.com/proxy/domain/photo.qzone.qq.com/fcgi-bin/fcg_list_album_v3?g_tk=${G_TK}&callback=shine4_Callback&t=542028743&hostUin=${HOST_UIN}&uin=${UIN}&appid=4&inCharset=utf-8&outCharset=utf-8&source=qzone&plat=qzone&format=json&notice=0&filter=1&handset=4&pageNumModeSort=40&pageNumModeClass=15&needUserInfo=1&idcNum=4&mode=2&sortOrder=2&pageStart=${PAGE_START}&pageNum=${PAGE_NUM}&callbackFun=shine4&_=${TIME}";
public const string QZONE_PHOTO_LIST = "https://user.qzone.qq.com/proxy/domain/photo.qzone.qq.com/fcgi-bin/cgi_list_photo?g_tk=${G_TK}&callback=shine7_Callback&t=207649744&mode=0&idcNum=4&hostUin=${HOST_UIN}&topicId=${TOPIC_ID}&noTopic=0&uin=${UIN}&pageStart=${PAGE_START}&pageNum=${PAGE_NUM}&skipCmtCount=0&singleurl=1&batchId=&notice=0&appid=4&inCharset=utf-8&outCharset=utf-8&source=qzone&plat=qzone&outstyle=json&format=json&json_esc=1&callbackFun=shine7&_=${TIME}";

public static string BasePath = Environment.GetFolderPath(Environment.SpecialFolder.MyPictures) + "\\QzoneSpider";

public static string Path;
public static string Cookie;
public static int PageNum = 100;
public static int GTk;
public static string HostUin;
public static string Uin;
}
}
177 changes: 177 additions & 0 deletions QzoneAssistant/MainForm.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 9ab0a6e

Please sign in to comment.