From 2fa9082fb7e20ed0fb7092dbd56674d69f6c789b Mon Sep 17 00:00:00 2001 From: Ammey Saini <65405363+AmmeySaini@users.noreply.github.com> Date: Tue, 2 Jun 2020 23:37:44 +0530 Subject: [PATCH] Discudemy Bug Fixed Discudemy and others fixed (all arguments were not added) --- udemy.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/udemy.py b/udemy.py index 8298b7e..e04c2cd 100644 --- a/udemy.py +++ b/udemy.py @@ -232,28 +232,28 @@ def main(): print('\n' + fc + sd + '-------' + fm + sb + '>>' + fb +' Discudemy ' + fm + sb + '<<' + fc + sd + '-------\n') while d <= limit: list_st = discudemy(d) - site = process(list_st, d, limit, site_index) + site = process(list_st, d, limit, site_index, cookies, access_token, csrftoken) d += 1 if site == 'Udemy Freebies': limit = 4 print('\n' + fc + sd + '-------' + fm + sb + '>>' + fb +' Udemy Freebies ' + fm + sb + '<<' + fc + sd + '-------\n') while d <= limit: list_st = udemy_freebies(d) - site = process(list_st, d, limit, site_index) + site = process(list_st, d, limit, site_index, cookies, access_token, csrftoken) d += 1 if site == 'Udemy Coupons': limit = 4 print('\n' + fc + sd + '-------' + fm + sb + '>>' + fb +' Udemy Coupons ' + fm + sb + '<<' + fc + sd + '-------\n') while d <= limit: list_st = udemy_coupons_me(d) - site = process(list_st, d, limit, site_index) + site = process(list_st, d, limit, site_index, cookies, access_token, csrftoken) d += 1 if site == 'Real Discount': limit = 4 print('\n' + fc + sd + '-------' + fm + sb + '>>' + fb +' Real Discount ' + fm + sb + '<<' + fc + sd + '-------\n') while d <= limit: list_st = real_disc(d) - site = process(list_st, d, limit, site_index) + site = process(list_st, d, limit, site_index, cookies, access_token, csrftoken) d += 1 elif input_1 == 'y': global count @@ -268,4 +268,4 @@ def main(): # print('Make sure you are logged in to udemy.com in chrome browser') if __name__ == '__main__': - main() \ No newline at end of file + main()