回答編集履歴
1
月と日にちの部分を0埋めで二桁表示ができていなかったので、修正。
    
        answer	
    CHANGED
    
    | @@ -4,7 +4,8 @@ | |
| 4 4 | 
             
            import urllib.request
         | 
| 5 5 | 
             
            import datetime
         | 
| 6 6 | 
             
            today = datetime.datetime.now()
         | 
| 7 | 
            +
            #月と日をzfillで2桁表示に修正
         | 
| 7 | 
            -
            alltoday=str(today.year)+str(today.month)+str(today.day)
         | 
| 8 | 
            +
            alltoday=str(today.year).zfill(4)+str(today.month).zfill(2)+str(today.day).zfill(2)
         | 
| 8 9 | 
             
            url="https://i02.smp.ne.jp/u/mutb_img/"+str(alltoday)+".pdf"
         | 
| 9 10 | 
             
            save_name="today.pdf"
         | 
| 10 11 |  | 
