【DL】動画の保存方法総合スレ【保存】part19at STREAMING
【DL】動画の保存方法総合スレ【保存】part19
- 暇つぶし2ch312:.*$#\1#p'` watch_m3u8_url=`wget -U "${media_ua}" -O - --no-check-certificate --keep-session-cookies --load-cookies c.txt \ --save-cookies c.txt "${popup_url}" | sed -En -e 's#^.*<video src="([^"]*)"[^>]*></video>$#\1#p'` wget -U "${media_ua}" -O - --no-check-certificate --keep-session-cookies --load-cookies c.txt \ --save-cookies c.txt "${watch_m3u8_url}" | while read line ; do if [ -z "${grade}" ] ; then grade=`echo "${line}" | sed -En -e 's%#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=([0-9]+)$%\1%p'` else watch_grade_m3u8_url=`echo "${line}" | sed -En -e 's#^(https?://.*)$#\1#p'` fi if [ ! -z "${grade}" -a ! -z "${watch_grade_m3u8_url}" ] ; then padded_grade=`printf '%08u' ${grade}` mkdir -p ${page}/${padded_grade} wget -U "${media_ua}" -O ${page}/${padded_grade}/watch.m3u8 --no-check-certificate --keep-session-cookies \ --load-cookies c.txt "${watch_grade_m3u8_url}" base_url=`echo "${watch_grade_m3u8_url}" | sed -En -e 's#^(https?://.*/)[^/]*#\1#p'` start_date=`date` segment=0 sed -En -e 's%^([^#].*)$%\1%p' ${page}/${padded_grade}/watch.m3u8 | while read watch_grade_segment_ts_url ; do segment=`expr ${segment} + 1` padded_segment=`printf '%06u' ${segment}` if [ ! -s ${page}/${padded_grade}/${padded_segment}.ts ] then wget -U "${media_ua}" -O ${page}/${padded_grade}/${padded_segment}.ts --no-check-certificate --keep-session-cookies \ --load-cookies c.txt "${base_url}${watch_grade_segment_ts_url}" fi done grade='' watch_grade_m3u8_url='' fi done done rm -f c.txt
次ページ続きを表示1を表示最新レス表示レスジャンプ類似スレ一覧スレッドの検索話題のニュースおまかせリストオプションしおりを挟むスレッドに書込スレッドの一覧暇つぶし2ch