Skip to content

Commit d88b21a

Browse files
authored
Change 'input' var name (#181)
1 parent 1532d0b commit d88b21a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

website/src/pages/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,10 @@ import requests
7878
7979
async def main():
8080
async with Actor:
81-
input = await Actor.get_input()
82-
response = requests.get(input['url'])
81+
actor_input = await Actor.get_input()
82+
response = requests.get(actor_input['url'])
8383
soup = BeautifulSoup(response.content, 'html.parser')
84-
await Actor.push_data({ 'url': input['url'], 'title': soup.title.string })`
84+
await Actor.push_data({ 'url': actor_input['url'], 'title': soup.title.string })`
8585
}</CodeBlock>
8686
</div>
8787
</div>

0 commit comments

Comments
 (0)