Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

Commit

Permalink
PEP8 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
0x01h committed May 5, 2019
1 parent f2a82bd commit 04dae80
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions hepsiburada.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def get_reviews(prod_page):
'\n')

semaphore.acquire()
with open('hepsiburada.txt', 'a',encoding="utf-8") as wFile:
with open('hepsiburada.txt', 'a', encoding="utf-8") as wFile:
wFile.write(row)
semaphore.release()

Expand Down Expand Up @@ -183,7 +183,7 @@ def get_products(cat_url):
else:
continue

with open('products.txt', 'a',encoding="utf-8") as wFile:
with open('products.txt', 'a', encoding="utf-8") as wFile:
for product in products:
wFile.write(product + '\n')

Expand Down Expand Up @@ -306,7 +306,7 @@ def get_products(cat_url):
pag_cats.update({categories[category]: '1'})

for category in range(0, len(categories)):
with open('categories.txt', 'a',encoding="utf-8") as wFile:
with open('categories.txt', 'a', encoding="utf-8") as wFile:
wFile.write(categories[category] + '\n')
for page in range(2, pag_num + 1):
paginated = categories[category] + '?sayfa=' + str(page)
Expand Down

0 comments on commit 04dae80

Please sign in to comment.