-
Run the command:
python pixiv_auth.py login
This will open the browser with Pixiv login page.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
"""Get User-Agent header from default browser""" | |
import webbrowser | |
import socket | |
def user_agent(): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import time | |
import sys | |
def get_clock_info(): | |
clock_info = [] | |
for name in ("monotonic", "perf_counter", "process_time", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
""" | |
Name | |
merge_gdl_archives - merge multiple download archives into one | |
Usage | |
merge_gdl_archives.py merged.sqlite old1.sqlite old2.sqlite ... | |
""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://www.flickr.com/photos/biodivlibrary/albums/72157719480387299 | |
https://www.flickr.com/photos/biodivlibrary/albums/72157719491069662 | |
https://www.flickr.com/photos/biodivlibrary/albums/72157719533382815 | |
https://www.flickr.com/photos/biodivlibrary/albums/72157719533358620 | |
https://www.flickr.com/photos/biodivlibrary/albums/72157719483762696 | |
https://www.flickr.com/photos/biodivlibrary/albums/72157719490887917 | |
https://www.flickr.com/photos/biodivlibrary/albums/72157719490571987 | |
https://www.flickr.com/photos/biodivlibrary/albums/72157719479800229 | |
https://www.flickr.com/photos/biodivlibrary/albums/72157719477805498 | |
https://www.flickr.com/photos/biodivlibrary/albums/72157719479761644 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
swagger: '2.0' | |
info: | |
title: "Pixiv App API" | |
description: "Unofficial API specification extracted from Pixiv Android App v5.0.17" | |
version: "1.0" | |
host: app-api.pixiv.net | |
schemes: | |
- https |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
swagger: "2.0" | |
info: | |
title: "Pixiv Public API" | |
description: "Unofficial API specification extracted from Pixiv Android App v4.8.2" | |
version: "1.0" | |
host: public-api.secure.pixiv.net | |
schemes: | |
- https | |
basePath: /v1 | |
produces: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://twenty-seven.keenspot.com/ | |
http://avengelyne.keenspot.com | |
http://banzaigirl.keenspot.com/ | |
http://barkercomic.keenspot.com/ | |
http://brawlinthefamily.keenspot.com/ | |
http://choppingblock.keenspot.com/ | |
http://clicheflambe.keenspot.com/ | |
http://countyoursheep.keenspot.com/ | |
http://crowscare.keenspot.com/ | |
http://dreamless.keenspot.com/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import urllib3.packages.rfc3986.misc | |
import time | |
import re | |
re_type = type(re.compile("")) | |
results = [] | |
for k, v in urllib3.packages.rfc3986.misc.__dict__.items(): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from gallery_dl.job import Job, Message | |
class CacheJob(Job): | |
def __init__(self, url, parent=None): | |
Job.__init__(self, url, parent) | |
self.data = [] | |
def run(self): | |
for msg in self.extractor: |