Difference between revisions of "Python: URL bermasalah dengan selenium"
Jump to navigation
Jump to search
Onnowpurbo (talk | contribs) |
Onnowpurbo (talk | contribs) |
||
Line 9: | Line 9: | ||
* imdb | * imdb | ||
* blanja.com | * blanja.com | ||
+ | |||
+ | |||
+ | ==Kira-Kira Solusi Koding-nya== | ||
+ | |||
+ | if result[1][:5]!='https': | ||
+ | if result[1][12:16]!='suara': | ||
+ | f.write(result[1] + '\n') |
Revision as of 18:17, 26 February 2017
Ada beberapa URL yang bermasalah dengan selenium, misalnya karena certificate https, download CDN network dll, antara lain adalah
- https:// - suka bermasalah
- Iklan pop up - sebaiknya di cancel / di klik manual saat browsing
- Download PDF - sebaiknya klik cancel.
- situs lemot, seperti kemlu.go.id
- intelejen.co.id
- tribunnews
- imdb
- blanja.com
Kira-Kira Solusi Koding-nya
if result[1][:5]!='https': if result[1][12:16]!='suara': f.write(result[1] + '\n')