Comments (5)
Maybe this works (paragraph 3)
https://github.com/disi/gogrepo/wiki
And some additional documentation to explain that 'en' should be mandatory and other langauages are seen as addition?
from gogrepo.
They are not really duplicate url but the same file, like this:
'downloads': [{'desc': u'Broken Age: The Complete Adventure', 'href': u'https://www.gog.com/downlink/broken_age/de1installer2', 'lang': u'Deutsch', 'md5': 'f9cfbe7fb3dc460a435ba6e91d8e5a48', 'name': 'setup_broken_age_2.2.0.8.exe', 'os_type': u'windows', 'size': 2144565808, 'version': u'2.0 (gog-8)'}, {'desc': u'Patch 2.2', 'href': u'https://www.gog.com/downlink/broken_age/de1patch1', 'lang': u'Deutsch', 'md5': '0e538e59b33909210b0caed3c3868dd8', 'name': 'patch_broken_age_2.2.1.9.exe', 'os_type': u'windows', 'size': 1794432, 'version': u'2.0 (gog-8) -> 2.2 (gog-9)'}, {'desc': u'Broken Age: The Complete Adventure', 'href': u'https://www.gog.com/downlink/broken_age/en1installer2', 'lang': u'English', 'md5': 'f9cfbe7fb3dc460a435ba6e91d8e5a48', 'name': 'setup_broken_age_2.2.0.8.exe', 'os_type': u'windows', 'size': 2144565808, 'version': u'2.0 (gog-8)'}, {'desc': u'Patch 2.2', 'href': u'https://www.gog.com/downlink/broken_age/en1patch1', 'lang': u'English', 'md5': '0e538e59b33909210b0caed3c3868dd8', 'name': 'patch_broken_age_2.2.1.9.exe', 'os_type': u'windows', 'size': 1794432, 'version': u'2.0 (gog-8) -> 2.2 (gog-9)'}],
from gogrepo.
yeah the href will be different, but the file name and MD5 should be the same, as you show above. this is only known after doing the href fetch itself. Some commands like download/verify/backup/import will need to take this into consideration.
I'm starting to wonder if using AttrDict is getting out of hand.. thinking of maybe going SQLite route in future.
Hope to have some time this weekend for this.
from gogrepo.
If we assume that the file name is unique for all games?
Extras have wc4_wallpapers.zip for example.
DLC have setup_starpoint_gemini_2_secrets_of_aethera_2.2.0.8.exe
Game files have setup_sw_rebellion_2.0.0.4.exe or setup_sw_rebellion_german_2.0.0.4.exe
I added all downloads to a dict with key dest_file before adding the dict to the queue, this seems to work just fine
disi@f7c9d59
from gogrepo.
Thank you disi! Looks good to me.. I have merged your changes.
from gogrepo.
Related Issues (20)
- Login Fails HOT 4
- HTTP Error 403: Forbidden after update -os windows -lang en de -skipknown HOT 48
- Apply os and language filters on download HOT 3
- "login failed, verify your username/password and try again." error HOT 8
- Game download randomly stops HOT 5
- [enhancement] Skip already verified HOT 2
- Python3 support HOT 2
- Download only new/updated HOT 1
- Unable to Verify games with Windows directory specified HOT 2
- "Skip games marked as hidden" function not working HOT 8
- Multiple directories / hard-drives HOT 2
- Unknown threading error HOT 1
- xml parsing error occurred trying to get md5 data for .... HOT 12
- XML Parsing Error HOT 3
- Login always fails with "cannot continue, gog is asking for a reCAPTCHA :( try again in a few minutes." HOT 14
- XML error has reappeared HOT 2
- Add a flag to not download/save patch files HOT 5
- Download/Unicode error HOT 2
- Fix ValueError: invalid mode: 'rUb' HOT 5
- SyntaxError: EOL while scanning string literal
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gogrepo.