Skip to content

Commit

Permalink
[weverse] add extractors
Browse files Browse the repository at this point in the history
  • Loading branch information
bradenhilton committed Nov 7, 2023
1 parent 807ddde commit 6f16e1a
Show file tree
Hide file tree
Showing 3 changed files with 536 additions and 0 deletions.
48 changes: 48 additions & 0 deletions docs/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3599,6 +3599,54 @@ Description
Download video files.


extractor.weverse.access-token
------------------------------
Type
``string``
Default
``null``
Description
Your Weverse account access token.

The token can be found in the ``we2_access_token`` cookie in the
``.weverse.io`` cookie domain after logging in to your account.

An invalid or not up-to-date value
will result in ``401 Unauthorized`` errors.

If this option is unset, and the cookie is not used, an extra HTTP
request will be sent with your ``username`` and ``password`` to
attempt to fetch a new token.


extractor.weverse.skip-embeds
-----------------------------
Type
``bool``
Default
``false``
Description
Control behavior on embedded content from external sites.

* ``true``: Download embed URLs if supported.
* ``false``: Ignore embeds.


extractor.weverse.videos
------------------------
Type
* ``bool``
* ``string``
Default
``true``
Description
Control video download behavior.

* ``true``: Download videos
* ``"ytdl"``: Download videos using `youtube-dl`_
* ``false``: Skip videos


extractor.ytdl.enabled
----------------------
Type
Expand Down
1 change: 1 addition & 0 deletions gallery_dl/extractor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@
"webmshare",
"webtoons",
"weibo",
"weverse",
"wikiart",
"wikifeet",
"xhamster",
Expand Down
Loading

0 comments on commit 6f16e1a

Please sign in to comment.