Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
EchterAlsFake committed Nov 30, 2024
2 parents 1e05edd + 54bd83f commit 7c9fce7
Showing 1 changed file with 13 additions and 5 deletions.
18 changes: 13 additions & 5 deletions Porn_Fetch_CLI.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,12 +322,20 @@ def iterate_generator(self, generator):
{return_color()}Please enter the numbers of videos you want to download with a comma separated.
for example: 1,5,94,3{Fore.WHITE}
Enter 'all' to download all videos
{return_color()}------------------------>:{Fore.WHITE}""")

selected_videos = vids.split(",")
for number in selected_videos:
video = videos[int(number)]
self.process_video(video)
if vids == "all":
for video in videos:
self.process_video(video)

else:
selected_videos = vids.split(",")

for number in selected_videos:
video = videos[int(number)]
self.process_video(video)

def process_model(self, url=None, do_return=False):
if url is None:
Expand All @@ -349,7 +357,7 @@ def process_model(self, url=None, do_return=False):
model = hq_Client().get_videos_by_actress(model)

elif xvideos_pattern.match(model):
model = xv_Client().get_pornstar(model).videos
model = xv_Client().get_pornstar(model).videosH

if do_return:
return model
Expand Down

0 comments on commit 7c9fce7

Please sign in to comment.