Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

parse generated JSON cookies instead of just netscape cookies #21

Closed
KJHJason opened this issue Mar 13, 2023 · 0 comments
Closed

parse generated JSON cookies instead of just netscape cookies #21

KJHJason opened this issue Mar 13, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@KJHJason
Copy link
Owner

Since Get-cookies.txt-LOCALLY has added an option to generate a JSON format of the exported cookies, can consider adding an option for a JSON cookie file as well.

@KJHJason KJHJason added the enhancement New feature or request label Mar 13, 2023
@KJHJason KJHJason self-assigned this Mar 13, 2023
KJHJason added a commit that referenced this issue Mar 13, 2023
KJHJason added a commit that referenced this issue Mar 27, 2023
* minor edits and added delays to pixiv api calls

* touch up on ffmpeg args and edit flag description

* added .apng and .webp to ugoira conversion

* mostly done

* added thumbnail, images, attachments flags and readme

* fixed a bug

* minor changes

* a small bug fix

* minor edits, considering to add pixiv mobile API

* removed a line

* pixiv mobile wip

* pixiv mobile done

* edit readme

* added winres files for building for windows

* moved files and remove winres.json

* Delete winres.json

* fixed a bug where folder with no content are being created

* edit readme

* removed flags for cobra and some code refactor

* bug fixes

* code refactor wip

- In the midst of removing most of the codes that used `panic` to handle errors
- Added error codes to make debugging easier
- Have yet to improve the logging function

* code refactor mostly done, requires testing

* bug fixes, minor optimsations, and code refactor

- Added a function to log slices of errors or a channel of errors
- Some optimisations
- Fixed a potential race condition in the Pixiv Mobile RefreshAccessToken function

* Added cookie file path support

* oops

* code cleanup and added netscape cookie validations

* code refactor and optimisations

* added spinner to be integrated with the main program

* integrated custom made spinner

* bug fixes and optimisations

* minor edit

* Code Refactor and Addition of Feature

- Minor optimisations
- Resolved #13
- Separated the Cobra CMDs into their own files
- Added a .bat file to compile the program

* cleanup codes and added bug report template

* update pull req template

* edit pull req template again

* removed whitespaces in pull req template

* Code cleanup

- Remove deprecated Golang codes
    - rand.Seed(seed) to rand.New(rand.NewSource(seed))
- Improve code readability and maintainability

* fixed bugs with pixiv fanbox downloads

* fixed bugs

* bug fixes and edit readme

* edit readme

* edit readme and overwrite flag desc

* edit readme

* fix merge conflicts and improve maintainability

* improve maintainability

* Rename LICENSE.md to LICENSE

* replaced bat file with ps1 file for building the program

* Addition of feature and prep for v1.1.1

- Added page number support for Pixiv illustrator downloads
- Changed how page number download logic works, now it will download all pages if no page number is specified
    - Mostly affects Pixiv tag search downloads
- Some code clean-ups
- Updated flag descriptions
- Edited README.md with updated flag descriptions

* Graceful exit and improved readability for HTTP requests

- Graceful exit when user press Ctrl+C
    - Will now stop all downloads and delete any incomplete downloads
- Refactored the requests code to use a struct instead of passing around multiple arguments to improve readability

* Optimisations and bug fixes

- Mainly memory optimisations
- Addresses issue [Bug]: Downloading all Fantia Posts from one creator results in 403 [#41](KJHJason/Cultured-Downloader#41) on the main Python program repository

* Bump github.com/fatih/color from 1.14.1 to 1.15.0 in /src

Bumps [github.com/fatih/color](https://github.com/fatih/color) from 1.14.1 to 1.15.0.
- [Release notes](https://github.com/fatih/color/releases)
- [Commits](fatih/color@v1.14.1...v1.15.0)

---
updated-dependencies:
- dependency-name: github.com/fatih/color
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Add #19 and validated for duplicates

* edit README.md and add #21

* edit README.md

* added flag for custom user agent

* maintainability improvement and some optimisations

* some optimisations for reading file

* Maintainability improvement and addition of website

- added struct for json instead of interface
- adding kemono party (wip)

* bug fixes and added debug mode to save a copy of the JSON

* disable debug and minor optimisation

* organise file for kemono (wip)

* kemono prep

* reduce the number of unnecessary API calls

* improve logging

* improved maintainability

* kemono party wip

* improve maintainability + kemono party wip

* improved maintainability

* kemono wip

* kemono party logic mostly done

* integrated kemono cmd

* Added more features, bug fixes, and integration

- Added gdrive downloads to Fantia
- Integrated spinner progress with Kemono Party downloads
- Fixed bug with gdrive client validation

* fixed ugoira dl bug for pixiv mobile

* fixed header and user-agent bug

* improve maintainability

* Create

* fix bug-report.yaml

* fix bug-report.yaml hopefully

* update ver

* improve maintainability

* improve maintainability

* improve maintainability

* added http3 flag checks and improved maintainability

* edit logger prefix

* fixed bug for kemono party downloads

* Bug fixes and minor changes

- Changed logger prefix
- Fixed bugs for Kemono Party downloads
- Add gdrive_api_key flag to Fantia and Kemono Party Cobra CMD (forgor to add it before)
- Other bug fixes like request ctx and other minor changes

* fixed bugs with logging

* fixed bugs

* improve maintainability and censored gdrive api key from being logged

* added flags for logging URLs

* bug fixes and changed dir structures for kemono

* minor optimisations

* bug fixes for fantia

* add comment

* fixed bugs for fanbox downloads and minor changes to err checks

* disable debug mode

* minor edit to ugoira struct

* fixed bugs in verification of cookies

* minor edits

* remove support for 32 bit systems

* fixed runtime bug

* edit cmd desc and readme

* update .rc ver

* edit readme

* fixed a potential race condition and minor edits

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant