From 9cd5a67ffe74336664b8d942d4c45d24c3ee17f8 Mon Sep 17 00:00:00 2001 From: Leo Date: Sun, 4 Aug 2019 18:27:11 +0800 Subject: [PATCH] bump version to 3.0.0 --- CHANGELOG.md | 7 +++++++ SciHubEVA.conf | 4 ++-- building/Windows/SciHubEVA.iss | 2 +- building/Windows/SciHubEVA.win.version | 8 ++++---- building/macOS/Info.plist | 2 +- requirements.txt | 4 ++-- 6 files changed, 17 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 68a0062..313fb71 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [3.0.0](https://github.com/leovan/SciHubEVA/compare/v2.1.2...v3.0.0) (2019-08-04) + +### Features + +- Support downloading with query list file. ([#10](https://github.com/leovan/SciHubEVA/issues/10)) +- Add SciHubEVA as a brew cask formula. (Thanks [@womeimingzi11](https://github.com/womeimingzi11)) + ## [2.1.2](https://github.com/leovan/SciHubEVA/compare/v2.1.1...v2.1.2) (2019-06-04) ### Features diff --git a/SciHubEVA.conf b/SciHubEVA.conf index 9cc03af..c2730ea 100644 --- a/SciHubEVA.conf +++ b/SciHubEVA.conf @@ -1,11 +1,11 @@ [common] -save_to_dir = +save_to_dir = filename_prefix_format = {author}_{year}_{title} [network] scihub_url = https://sci-hub.tw scihub_available_urls = ["https://sci-hub.tw", "https://sci-hub.se"] -session_header = {"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36"} +session_header = {"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.87 Safari/537.36"} timeout = 10000 retry_times = 3 diff --git a/building/Windows/SciHubEVA.iss b/building/Windows/SciHubEVA.iss index 1ccc775..538c3da 100644 --- a/building/Windows/SciHubEVA.iss +++ b/building/Windows/SciHubEVA.iss @@ -1,5 +1,5 @@ #define MyAppName "Sci-Hub EVA" -#define MyAppVersion "2.1.2" +#define MyAppVersion "3.0.0" #define MyAppPublisher "Leo Van" #define MyAppURL "https://leovan.me" #define MyAppExeName "SciHubEVA.exe" diff --git a/building/Windows/SciHubEVA.win.version b/building/Windows/SciHubEVA.win.version index 032f166..238d9f3 100644 --- a/building/Windows/SciHubEVA.win.version +++ b/building/Windows/SciHubEVA.win.version @@ -1,7 +1,7 @@ VSVersionInfo( ffi=FixedFileInfo( - filevers=(2, 1, 2, 0), - prodvers=(2, 1, 2, 0), + filevers=(3, 0, 0, 0), + prodvers=(3, 0, 0, 0), mask=0x3f, flags=0x0, OS=0x4, @@ -16,12 +16,12 @@ VSVersionInfo( u'040904B0', [StringStruct(u'CompanyName', u'Leo Van'), StringStruct(u'FileDescription', u'Sci-Hub EVA'), - StringStruct(u'FileVersion', u'2.1.2.0'), + StringStruct(u'FileVersion', u'3.0.0.0'), StringStruct(u'InternalName', u'SciHubEVA'), StringStruct(u'LegalCopyright', u'\xa9 2018-2019 Leo Van.'), StringStruct(u'OriginalFilename', u'SciHubEVA.Exe'), StringStruct(u'ProductName', u'Sci-Hub EVA'), - StringStruct(u'ProductVersion', u'2.1.2.0')]) + StringStruct(u'ProductVersion', u'3.0.0.0')]) ]), VarFileInfo([VarStruct(u'Translation', [1033, 1200])]) ] diff --git a/building/macOS/Info.plist b/building/macOS/Info.plist index 240dbe4..f2e2f00 100644 --- a/building/macOS/Info.plist +++ b/building/macOS/Info.plist @@ -9,7 +9,7 @@ CFBundleExecutable MacOS/SciHubEVA CFBundleShortVersionString - 2.1.2 + 3.0.0 LSBackgroundOnly 0 CFBundleName diff --git a/requirements.txt b/requirements.txt index ce75986..25e3a9b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -lxml==4.3.3 +lxml==4.4.0 pdfminer.six==20181108 -PySide2==5.12.4 +PySide2==5.13.0 requests==2.22.0