Skip to content

Commit

Permalink
Update capture_example.py
Browse files Browse the repository at this point in the history
  • Loading branch information
seralexger authored Aug 30, 2018
1 parent 785c3ae commit eca34b6
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion capture_example.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-

#########################################################
#
# Alejandro German
#
# https://github.com/seralexger/selenium-capturetraffic
#
#########################################################

from capturetraffic import CaptureTraffic


sniffer = CaptureTraffic()
data = sniffer.capture_traffic('https://www.airbnb.es/s/Mil%C3%A1n--Italia/homes?refinement_paths%5B%5D=%2Fhomes&place_id=ChIJ53USP0nBhkcRjQ50xhPN_zw&query=Mil%C3%A1n%2C%20Italia&map_toggle=true&allow_override%5B%5D=&s_tag=KmFXqfK_', save=True)
print(data)
print(data)

0 comments on commit eca34b6

Please sign in to comment.