Skip to content

Commit

Permalink
Merge pull request #35 from banillasolt/master
Browse files Browse the repository at this point in the history
Fixed JFF image page url
  • Loading branch information
SecretShell authored Oct 6, 2019
2 parents cec448c + 5ba7d9c commit 8dee201
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions modules/justforfans.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def scrape_choice(username, post_count):
print(
'Optional Arguments: -l = Only scrape links -()- Example: "a -l"')
input_choice = input().strip()
image_api = "https://justfor.fans/" + username + "?tab=photos&PhotoTabPage=0"
image_api = "https://justfor.fans/" + username + "?tab=photos&PhotoTabPage=0&VideoTabPage=9999"
video_api = "https://justfor.fans/" + username + "?tab=videos&PhotoTabPage=9999&VideoTabPage=0"
# ARGUMENTS
only_links = False
Expand Down Expand Up @@ -126,7 +126,6 @@ def scrape_choice(username, post_count):
def scrape_array(link, session):
media_set = []
utc_offset_timedelta = datetime.utcnow() - datetime.now()
print(utc_offset_timedelta)
r = session.get(link)
i_items = BeautifulSoup(r.text,
'html.parser').find("ul", {
Expand Down

0 comments on commit 8dee201

Please sign in to comment.