Giter Site home page Giter Site logo

bdsmlr-scripts's Introduction

bdsmlr-scripts

Random scripts to do various things with BDSMLR due to the fact that they have no easily accessible API. Use at your own discretion.

note

For scripts that output a file with URLs for download, I won't be implementing a pure python solution to download them. There's tons of alternatives, or even just some pure bash you can write to get the same result, faster and easier. Or just use something such as aria2c which has an easy to use argument to download an entire file's worth of URLs with ease.

usage

Be sure to disable infinite scrolling on archive pages, otherwise this will not work.

  1. Install requirements, pip install -r requirements.txt.
  2. Run any of the scripts with your python 3.6+ interpreter.

bdsmlr-scripts's People

Contributors

6fe9d454 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

poetontherun

bdsmlr-scripts's Issues

list index out of range

I am using the following command and receive the following error. Am I providing variables incorrectly?

โžœ bdsmlr-scripts-master python3 bdsmlr_get_blog_fast.py -u [email protected] -p http://unparalleled.bdsmlr.com

[http://unparalleled] No tags set, grabbing all posts
[http://unparalleled] Logged in ...
Traceback (most recent call last):
File "bdsmlr_get_blog_fast.py", line 201, in
main(args)
File "bdsmlr_get_blog_fast.py", line 98, in main
true_end_page = list(map(int, filter(str.isnumeric, page_numbers)))[-1]
IndexError: list index out of range

list index out of range

python bdsmlr_get_blog_fast.py  [redacted] -u [redacted]  -p [redacted]
[redacted] No tags set, grabbing all posts
[redacted] Logged in ...
Traceback (most recent call last):
  File "/home/jon/bdsmlr-scripts/bdsmlr_get_blog_fast.py", line 202, in <module>
    main(args)
  File "/home/jon/bdsmlr-scripts/bdsmlr_get_blog_fast.py", line 99, in main
    true_end_page = list(map(int, filter(str.isnumeric, page_numbers)))[-1]
IndexError: list index out of range

What is happening here???

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.