Skip to content
This repository has been archived by the owner on Mar 10, 2022. It is now read-only.

Commit

Permalink
plugins/libgen: fix mirror parsing
Browse files Browse the repository at this point in the history
Related to #53
  • Loading branch information
tmplt committed May 28, 2018
1 parent cb88d79 commit 0677ffb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/core/plugins/libgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,9 @@ def valid_isbn(isbn):
return [isbn for isbn in font.text.split(', ') if valid_isbn(isbn)]

def extract_mirrors():
libgenpw, libgenio, bookfi, bok = mirrors
# libgenpw, libgenio, bookfi, bok = mirrors
libgenpw = mirrors[0]
libgenio = mirrors[1]
# Only libgenpw can be downloaded from directly without fuss;
# the rest require the intermediate page as HTTP referer.
# TODO: process bookfi and B-Ok?
Expand Down

0 comments on commit 0677ffb

Please sign in to comment.