Python script download pdf from all tabs